Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b19e50 commit d79210aCopy full SHA for d79210a
2 files changed
Lib/test/test_subprocess.py
@@ -554,7 +554,8 @@ def test_leaking_fds_on_error(self):
554
stderr=subprocess.PIPE)
555
# Windows raises IOError
556
except (IOError, OSError) as err:
557
- if err.errno != errno.ENOENT: # ignore "no such file"
+ # ignore errors that indicate the command was not found
558
+ if err.errno not in (errno.ENOENT, errno.EACCES):
559
raise
560
561
def test_issue8780(self):
Misc/NEWS
@@ -221,6 +221,9 @@ Build
221
Tests
222
-----
223
224
+- Issue #11490: test_subprocess:test_leaking_fds_on_error no longer gives a
225
+ false positive if the last directory in the path is inaccessible.
226
+
227
- Issue #10822: Fix test_posix:test_getgroups failure under Solaris. Patch
228
by Ross Lagerwall.
229
0 commit comments