]> granicus.if.org Git - python/commit
Issue #23788: Merge redundant test_bad_address() into test_urllibnet
authorMartin Panter <vadmium+py@gmail.com>
Wed, 16 Dec 2015 04:36:20 +0000 (04:36 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Wed, 16 Dec 2015 04:36:20 +0000 (04:36 +0000)
commita7f9933efacc017f9772ae12830e75ce88c3b7ec
treea77891b72afd37d205de512bee500167e56ba38d
parente319ab01cee6aa4675cac418d5f5900e5537f66e
Issue #23788: Merge redundant test_bad_address() into test_urllibnet

In Python 2, these were duplicated; one for urllib.urlopen() and one for
urllib2.urlopen(). The test_urllibnet version has a better precondition to
avoid false failures with bad DNS, and the test_urllib2_localnet version had
a more up-to-date comment and domain name.
Lib/test/test_urllib2_localnet.py
Lib/test/test_urllibnet.py