Commit 8749316c authored by Neal Norwitz's avatar Neal Norwitz

Try to find a host that responds slower from python.org so this test does not...

Try to find a host that responds slower from python.org so this test does not fail on macteagle (G4 OSX.4 in buildbot)
parent ae1d0c97
...@@ -114,7 +114,7 @@ class TimeoutTestCase(unittest.TestCase): ...@@ -114,7 +114,7 @@ class TimeoutTestCase(unittest.TestCase):
# If we are too close to www.python.org, this test will fail. # If we are too close to www.python.org, this test will fail.
# Pick a host that should be farther away. # Pick a host that should be farther away.
if socket.getfqdn().split('.')[-2:] == ['python', 'org']: if socket.getfqdn().split('.')[-2:] == ['python', 'org']:
self.addr_remote = ('python.net', 80) self.addr_remote = ('tut.fi', 80)
_t1 = time.time() _t1 = time.time()
self.failUnlessRaises(socket.error, self.sock.connect, self.failUnlessRaises(socket.error, self.sock.connect,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment