Commit f61045fd authored by Antoine Pitrou's avatar Antoine Pitrou

Merged revisions 84878 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84878 | antoine.pitrou | 2010-09-18 19:56:02 +0200 (sam., 18 sept. 2010) | 5 lines

  Issue #9894: Do not hardcode ENOENT in test_subprocess.

  (GNU/Hurd is not dead)
........
parent 107324cf
...@@ -535,7 +535,7 @@ class ProcessTestCase(BaseTestCase): ...@@ -535,7 +535,7 @@ 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 != 2: # ignore "no such file" if err.errno != errno.ENOENT: # ignore "no such file"
raise raise
def test_issue8780(self): def test_issue8780(self):
......
...@@ -590,6 +590,8 @@ Build ...@@ -590,6 +590,8 @@ Build
Tests Tests
----- -----
- Issue #9894: Do not hardcode ENOENT in test_subprocess.
- Issue #9315: Added tests for the trace module. Patch by Eli Bendersky. - Issue #9315: Added tests for the trace module. Patch by Eli Bendersky.
- Issue #7564: Skip test_ioctl if another process is attached to /dev/tty. - Issue #7564: Skip test_ioctl if another process is attached to /dev/tty.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment