diff options
| author | Steve Dower <steve.dower@python.org> | 2019-08-22 00:42:56 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-22 00:42:56 (GMT) |
| commit | 374be59b8e479afa8c7a8ae6e77e98915e2f6d45 (patch) | |
| tree | 9f4240dbd4363bf8da9034cae4180d6200893d87 /Lib/test/test_os.py | |
| parent | 06be2c7f357d12249445e95def1fb708a087b357 (diff) | |
| download | cpython-374be59b8e479afa8c7a8ae6e77e98915e2f6d45.zip cpython-374be59b8e479afa8c7a8ae6e77e98915e2f6d45.tar.gz cpython-374be59b8e479afa8c7a8ae6e77e98915e2f6d45.tar.bz2 | |
bpo-37834: Fix test on Windows 7 (GH-15377)
Diffstat (limited to 'Lib/test/test_os.py')
| -rw-r--r-- | Lib/test/test_os.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index ba9f5c3..4285931 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -2466,6 +2466,9 @@ class Win32SymlinkTests(unittest.TestCase): def test_appexeclink(self): root = os.path.expandvars(r'%LOCALAPPDATA%\Microsoft\WindowsApps') + if not os.path.isdir(root): + self.skipTest("test requires a WindowsApps directory") + aliases = [os.path.join(root, a) for a in fnmatch.filter(os.listdir(root), '*.exe')] |
