]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-32667: Fix tests when $PATH contains a file (#5324)
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 25 Jan 2018 21:41:38 +0000 (22:41 +0100)
committerGitHub <noreply@github.com>
Thu, 25 Jan 2018 21:41:38 +0000 (22:41 +0100)
commit6996f284d4d90aa05c46d9fe6f38d1030454b224
treec262bf0ba4169f4734a592940508153ea45ed3b0
parente64a47b37d0c592fd162b2f51e79ecfd046b45ec
bpo-32667: Fix tests when $PATH contains a file (#5324)

test_subprocess.test_leaking_fds_on_error() failed when the PATH
environment variable contains a path to an existing file. Fix the
test: ignore also ENOTDIR, not only ENOENT and EACCES.
Lib/test/test_subprocess.py