Skip to content

Commit

Permalink
Merge pull request #28950 from DSRCompany/pr/28812_which
Browse files Browse the repository at this point in the history
PR 28812 which test fix
  • Loading branch information
Mike Place committed Nov 17, 2015
2 parents 7371992 + 1857100 commit 5b680c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/utils/which_test.py
Expand Up @@ -71,9 +71,9 @@ def test_missing_binary_in_windows(self, osaccess):
False,
# The second, iterating through $PATH, should also return False,
# still checking for Linux
False,
# Lastly return True, this is the windows check.
True
# which() will add 4 extra paths to the given one, os.access will
# be called 5 times
False, False, False, False, False
]
# Let's patch os.environ to provide a custom PATH variable
with patch.dict(os.environ, {'PATH': '/bin'}):
Expand Down

0 comments on commit 5b680c9

Please sign in to comment.