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 17:48:36 +00:00
parent 4d2e41b1a4
commit 3fced65aa3
2 changed files with 2 additions and 2 deletions

View file

@ -474,7 +474,7 @@ def test_bad_address(self):
# 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():

View file

@ -137,7 +137,7 @@ def test_bad_address(self):
# 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."""