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
679e0f23
Commit
679e0f23
authored
Sep 18, 2010
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #9894: Do not hardcode ENOENT in test_subprocess.
(GNU/Hurd is not dead)
parent
f2dec8d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
Lib/test/test_subprocess.py
Lib/test/test_subprocess.py
+1
-1
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/test/test_subprocess.py
View file @
679e0f23
...
...
@@ -530,7 +530,7 @@ class ProcessTestCase(BaseTestCase):
subprocess
.
Popen
([
'nonexisting_i_hope'
],
stdout
=
subprocess
.
PIPE
,
stderr
=
subprocess
.
PIPE
)
if
c
.
exception
.
errno
!=
2
:
# ignore "no such file"
if
c
.
exception
.
errno
!=
errno
.
ENOENT
:
# ignore "no such file"
raise
c
.
exception
def
test_issue8780
(
self
):
...
...
Misc/NEWS
View file @
679e0f23
...
...
@@ -181,6 +181,8 @@ Tools/Demos
Tests
-----
- Issue #9894: Do not hardcode ENOENT in test_subprocess.
- Issue #9315: Added tests for the trace module. Patch by Eli Bendersky.
- Issue #9323: Make test.regrtest.__file__ absolute, this was not always the
...
...
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