[New-bugs-announce] [issue3583] test_urllibnet.test_bad_address() fails when using OpenDNS
report at bugs.python.org
Sun Aug 17 23:21:01 CEST 2008
New submission from Brett Cannon <brett at python.org>:
OpenDNS has a "feature" where if you enter an address that doesn't
exist, you get a 404 and a Google-looking search page. Problem is that
urllib.urlopen() does not raise any exception on a 404.
Probably should just change the test such that if no exception is
raised, check if a 404 was returned and still consider the test passed.
components: Library (Lib)
title: test_urllibnet.test_bad_address() fails when using OpenDNS
versions: Python 2.6
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce