]> granicus.if.org Git - python/commitdiff
Merged revisions 67777,67779 via svnmerge from
authorAntoine Pitrou <solipsis@pitrou.net>
Mon, 15 Dec 2008 13:08:55 +0000 (13:08 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Mon, 15 Dec 2008 13:08:55 +0000 (13:08 +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 2c572f30c598ff085c82ab1b83110607bf62a19d..94f057f2ea05bb0c3a5604d3a9d3324c833a9bd6 100644 (file)
@@ -449,7 +449,7 @@ class TestUrlopen(unittest.TestCase):
                           # domain will be spared to serve its defined
                           # purpose.
                           urllib.request.urlopen,
-                          "http://www.python.invalid./")
+                          "http://sadflkjsasf.i.nvali.d/")
 
 def test_main():
     support.run_unittest(ProxyAuthTests)
index 695541c3acd2e7c110fe8b248de93075d475dd79..e2c8af3127e4f174748f21b156fcbf68fe2f342d 100644 (file)
@@ -139,7 +139,7 @@ class urlopenNetworkTests(unittest.TestCase):
                           # purpose.
                           # urllib.urlopen, "http://www.sadflkjsasadf.com/")
                           urllib.request.urlopen,
-                          "http://www.python.invalid./")
+                          "http://sadflkjsasf.i.nvali.d/")
 
 class urlretrieveNetworkTests(unittest.TestCase):
     """Tests urllib.request.urlretrieve using the network."""