projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06be2c7
)
bpo-37834: Fix test on Windows 7 (GH-15377)
author
Steve Dower
<steve.dower@python.org>
Thu, 22 Aug 2019 00:42:56 +0000
(17:42 -0700)
committer
GitHub
<noreply@github.com>
Thu, 22 Aug 2019 00:42:56 +0000
(17:42 -0700)
Lib/test/test_os.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_os.py
b/Lib/test/test_os.py
index ba9f5c35ae3188e3b4a0a7462491ebc1082ce963..4285931512085902caba82cce6cd04f21a49720e 100644
(file)
--- 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')]