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) ........
This commit is contained in:
parent
107324cf7c
commit
f61045fd15
|
@ -535,7 +535,7 @@ class ProcessTestCase(BaseTestCase):
|
|||
stderr=subprocess.PIPE)
|
||||
# Windows raises IOError
|
||||
except (IOError, OSError) as err:
|
||||
if err.errno != 2: # ignore "no such file"
|
||||
if err.errno != errno.ENOENT: # ignore "no such file"
|
||||
raise
|
||||
|
||||
def test_issue8780(self):
|
||||
|
|
Loading…
Reference in New Issue