Martin Panter added the comment: 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23788> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com