mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Get rig of EnvironmentError (#16705)
This commit is contained in:
parent
6eda46de99
commit
3438fa496d
16 changed files with 34 additions and 35 deletions
|
@ -216,7 +216,7 @@ class OtherNetworkTests(unittest.TestCase):
|
|||
debug(url)
|
||||
try:
|
||||
f = urlopen(url, req, TIMEOUT)
|
||||
except EnvironmentError as err:
|
||||
except OSError as err:
|
||||
debug(err)
|
||||
if expected_err:
|
||||
msg = ("Didn't get expected error(s) %s for %s %s, got %s: %s" %
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue