mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
fix None errno #5312
This commit is contained in:
parent
2fc224f090
commit
4b068190aa
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue