diff options
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')] |