mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +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
|
@ -121,7 +121,7 @@ class urlopenNetworkTests(unittest.TestCase):
|
|||
else:
|
||||
# This happens with some overzealous DNS providers such as OpenDNS
|
||||
self.skipTest("%r should not resolve for test to work" % bogus_domain)
|
||||
self.assertRaises(IOError,
|
||||
self.assertRaises(OSError,
|
||||
# SF patch 809915: In Sep 2003, VeriSign started
|
||||
# highjacking invalid .com and .net addresses to
|
||||
# boost traffic to their own site. This test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue