cpython: acce13a6e728 (original) (raw)

Mercurial > cpython

changeset 81419:acce13a6e728

Issue #3583: mention that testing whether a bad address not triggering an OSError can mean a bad DNS server and not an actual bug. [#3583]

Brett Cannon brett@python.org
date Fri, 11 Jan 2013 11:17:53 -0500
parents 1aac333f320a
children 21abd27ca9ed b94f308e9b47
files Lib/test/test_urllibnet.py
diffstat 1 files changed, 9 insertions(+), 10 deletions(-)[+] [-] Lib/test/test_urllibnet.py 19

line wrap: on

line diff

--- a/Lib/test/test_urllibnet.py +++ b/Lib/test/test_urllibnet.py @@ -121,16 +121,15 @@ class urlopenNetworkTests(unittest.TestC else: # This happens with some overzealous DNS providers such as OpenDNS self.skipTest("%r should not resolve for test to work" % bogus_domain)

class urlretrieveNetworkTests(unittest.TestCase):