This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients Steve Harris, martin.panter, r.david.murray, raniere, vstinner
Date 2015-12-07.06:58:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1449471519.39.0.422081693305.issue23788@psf.upfronthosting.co.za>
In-reply-to
Content
Actually test_bad_address() in /test/test_urllib2_localnet.py looks redundant with the test of the same name in /test/test_urllibnet.py. That test already has a nice precondition to skip the test if DNS does not fail, originating in revision 7d69d04522e3. And it has a failure message like I already proposed (added by Issue 3583, but probably not so important because that report was made before precondition in revision 7d69d04522e3 was added).

Long story short: Delete the redundant test from test_urllib2_localnet.

Makes me wonder what other redundancies there are. I guess this is leftover baggage from Python 2’s dual urllib and urllib2 modules.
History
Date User Action Args
2015-12-07 06:58:39martin.pantersetrecipients: + martin.panter, vstinner, r.david.murray, raniere, Steve Harris
2015-12-07 06:58:39martin.pantersetmessageid: <1449471519.39.0.422081693305.issue23788@psf.upfronthosting.co.za>
2015-12-07 06:58:39martin.panterlinkissue23788 messages
2015-12-07 06:58:38martin.pantercreate