fix None errno #5312

This commit is contained in:
Benjamin Peterson 2009-02-20 03:19:25 +00:00
parent 2fc224f090
commit 4b068190aa
2 changed files with 3 additions and 3 deletions

View file

@ -535,7 +535,7 @@ class ProcessTestCase(unittest.TestCase):
# Windows raises IOError
except (IOError, OSError) as err:
if err.errno != 2: # ignore "no such file"
pass # XXX see #5312
raise
#
# POSIX tests