mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
bpo-30022: Get rid of using EnvironmentError and IOError (except test… (#1051)
This commit is contained in:
parent
fdbd01151d
commit
55fe1ae970
36 changed files with 1538 additions and 1538 deletions
|
@ -112,8 +112,8 @@ class Test_Assertions(unittest.TestCase):
|
|||
a = A()
|
||||
wr = weakref.ref(a)
|
||||
try:
|
||||
raise IOError
|
||||
except IOError:
|
||||
raise OSError
|
||||
except OSError:
|
||||
raise ValueError
|
||||
|
||||
def test_functional(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue