Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d79210a0
Commit
d79210a0
authored
Mar 13, 2011
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#11490: EACCES can also mean command not found
parent
6b19e50e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
Lib/test/test_subprocess.py
Lib/test/test_subprocess.py
+2
-1
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/test/test_subprocess.py
View file @
d79210a0
...
@@ -554,7 +554,8 @@ class ProcessTestCase(BaseTestCase):
...
@@ -554,7 +554,8 @@ class ProcessTestCase(BaseTestCase):
stderr
=
subprocess
.
PIPE
)
stderr
=
subprocess
.
PIPE
)
# Windows raises IOError
# Windows raises IOError
except
(
IOError
,
OSError
)
as
err
:
except
(
IOError
,
OSError
)
as
err
:
if
err
.
errno
!=
errno
.
ENOENT
:
# ignore "no such file"
# ignore errors that indicate the command was not found
if
err
.
errno
not
in
(
errno
.
ENOENT
,
errno
.
EACCES
):
raise
raise
def
test_issue8780
(
self
):
def
test_issue8780
(
self
):
...
...
Misc/NEWS
View file @
d79210a0
...
@@ -221,6 +221,9 @@ Build
...
@@ -221,6 +221,9 @@ Build
Tests
Tests
-----
-----
- Issue #11490: test_subprocess:test_leaking_fds_on_error no longer gives a
false positive if the last directory in the path is inaccessible.
- Issue #10822: Fix test_posix:test_getgroups failure under Solaris. Patch
- Issue #10822: Fix test_posix:test_getgroups failure under Solaris. Patch
by Ross Lagerwall.
by Ross Lagerwall.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment