Merged revisions 67777,67779 via svnmerge from

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
........
This commit is contained in:
Antoine Pitrou 2008-12-15 13:08:55 +00:00
parent 386220068c
commit 8fd33d3592
2 changed files with 2 additions and 2 deletions

View File

@ -449,7 +449,7 @@ class TestUrlopen(unittest.TestCase):
# domain will be spared to serve its defined # domain will be spared to serve its defined
# purpose. # purpose.
urllib.request.urlopen, urllib.request.urlopen,
"http://www.python.invalid./") "http://sadflkjsasf.i.nvali.d/")
def test_main(): def test_main():
support.run_unittest(ProxyAuthTests) support.run_unittest(ProxyAuthTests)

View File

@ -139,7 +139,7 @@ class urlopenNetworkTests(unittest.TestCase):
# purpose. # purpose.
# urllib.urlopen, "http://www.sadflkjsasadf.com/") # urllib.urlopen, "http://www.sadflkjsasadf.com/")
urllib.request.urlopen, urllib.request.urlopen,
"http://www.python.invalid./") "http://sadflkjsasf.i.nvali.d/")
class urlretrieveNetworkTests(unittest.TestCase): class urlretrieveNetworkTests(unittest.TestCase):
"""Tests urllib.request.urlretrieve using the network.""" """Tests urllib.request.urlretrieve using the network."""