[Patches] [ python-Patches-809915 ] Fix bogus address to hopefully
always break
SourceForge.net
noreply at sourceforge.net
Sat Sep 20 18:17:46 EDT 2003
Patches item #809915, was opened at 2003-09-20 17:25
Message generated for change (Comment added) made by tim_one
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=809915&group_id=5470
Category: Tests
Group: Python 2.3
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: J. Lewis Muir (jlmuir)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix bogus address to hopefully always break
Initial Comment:
VeriSign's new Site Finder service breaks the
test_urllibnet.urlopenNetworkTests.test_bad_address test.
Since the bogus test address is in the ".com" TLD, even
though it is a nonexistent second-level domain name, it gets
resolved to VeriSign's Site Finder web page and so the
expected IOError is not raised.
I changed the intentionally bogus address,
"www.sadflkjsasadf.com", to "www.python.invalid" in the
hopes that this will always be invalid. The ".invalid" TLD is
reserved for such a purpose according to RFC 2606,
"Reserved Top Level DNS Names".
----------------------------------------------------------------------
>Comment By: Tim Peters (tim_one)
Date: 2003-09-20 18:17
Message:
Logged In: YES
user_id=31435
Grrrrrr (to VeriSign), and thanks.
The suggested change has been checked in,
Lib/test/test_urllibnet.py; new revision: 1.7
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=809915&group_id=5470
More information about the Patches
mailing list