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
(cherry picked from commit 374be59)

Co-authored-by: Steve Dower <steve.dower@python.org>
  • Loading branch information
miss-islington and zooba authored Aug 22, 2019
1 parent a50d2f7 commit 967d625
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 967d625

Please sign in to comment.