mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Replace IOError with OSError (#16715)
This commit is contained in:
parent
16bdd4120d
commit
f7a17b48d7
121 changed files with 381 additions and 386 deletions
|
@ -61,7 +61,7 @@ class ResourceTest(unittest.TestCase):
|
|||
for i in range(5):
|
||||
time.sleep(.1)
|
||||
f.flush()
|
||||
except IOError:
|
||||
except OSError:
|
||||
if not limit_set:
|
||||
raise
|
||||
if limit_set:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue