Skip to content

Commit

Permalink
bpo-37834: Fix test on Windows 7 (GH-15377)
Browse files Browse the repository at this point in the history
  • Loading branch information
zooba authored Aug 22, 2019
1 parent 06be2c7 commit 374be59
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Lib/test/test_os.py
Original file line number Diff line number Diff line change
Expand Up @@ -2466,6 +2466,9 @@ def test_buffer_overflow(self):

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

Expand Down

0 comments on commit 374be59

Please sign in to comment.