]> granicus.if.org Git - python/commit
bpo-32667: Fix tests when $PATH contains a file (#5322)
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 25 Jan 2018 18:06:05 +0000 (19:06 +0100)
committerGitHub <noreply@github.com>
Thu, 25 Jan 2018 18:06:05 +0000 (19:06 +0100)
commitb31206a223955d614d7769f95fb979d60f77bf87
tree32b882ea1726457d3eab496c2f915beba318aa8b
parent93a6119f081aa6e95a3f22466966cdc8820e37f9
bpo-32667: Fix tests when $PATH contains a file (#5322)

Some tests failed when the PATH environment variable contained a path
to an existing file. Fix tests to ignore also NotADirectoryError, not
only FileNotFoundError and PermissionError.
Lib/test/test_dtrace.py
Lib/test/test_subprocess.py