]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Merged revisions 67777,67779 via svnmerge from
authorAntoine Pitrou <solipsis@pitrou.net>
Mon, 15 Dec 2008 17:48:36 +0000 (17:48 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Mon, 15 Dec 2008 17:48:36 +0000 (17:48 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67777 | antoine.pitrou | 2008-12-14 23:33:55 +0100 (dim., 14 déc. 2008) | 3 lines

  try to fix failure in test_bad_address on some buildbots
........
  r67779 | antoine.pitrou | 2008-12-15 01:39:51 +0100 (lun., 15 déc. 2008) | 1 line

  modify other occurrence of test_bad_address
........

Lib/test/test_urllib2_localnet.py
Lib/test/test_urllibnet.py

index 43edc0995f820593dd0f1122ae25e85cfc09c309..9920134f33df66b111807d4dd9301ccf3e070bb6 100644 (file)
@@ -474,7 +474,7 @@ class TestUrlopen(unittest.TestCase):
                           # domain will be spared to serve its defined
                           # purpose.
                           # urllib2.urlopen, "http://www.sadflkjsasadf.com/")
-                          urllib2.urlopen, "http://www.python.invalid./")
+                          urllib2.urlopen, "http://sadflkjsasf.i.nvali.d/")
 
 
 def test_main():
index 58fe282d3111379c851e7ecc658796c612a18393..ffb8b988910dd3195c14eda4d002aaf2c0ce85ec 100644 (file)
@@ -137,7 +137,7 @@ class urlopenNetworkTests(unittest.TestCase):
                           # domain will be spared to serve its defined
                           # purpose.
                           # urllib.urlopen, "http://www.sadflkjsasadf.com/")
-                          urllib.urlopen, "http://www.python.invalid./")
+                          urllib.urlopen, "http://sadflkjsasf.i.nvali.d/")
 
 class urlretrieveNetworkTests(unittest.TestCase):
     """Tests urllib.urlretrieve using the network."""