[Patches] [ python-Patches-809915 ] Fix bogus address to hopefully always break

SourceForge.net noreply at sourceforge.net
Sat Sep 20 17:25:00 EDT 2003


Patches item #809915, was opened at 2003-09-20 16:25
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Open
Resolution: None
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".

----------------------------------------------------------------------

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