mirror of https://github.com/python/cpython
Try to find a host that responds slower from python.org so this test does not fail on macteagle (G4 OSX.4 in buildbot)
This commit is contained in:
parent
ae1d0c978d
commit
8749316c08
|
@ -114,7 +114,7 @@ class TimeoutTestCase(unittest.TestCase):
|
|||
# If we are too close to www.python.org, this test will fail.
|
||||
# Pick a host that should be farther away.
|
||||
if socket.getfqdn().split('.')[-2:] == ['python', 'org']:
|
||||
self.addr_remote = ('python.net', 80)
|
||||
self.addr_remote = ('tut.fi', 80)
|
||||
|
||||
_t1 = time.time()
|
||||
self.failUnlessRaises(socket.error, self.sock.connect,
|
||||
|
|
Loading…
Reference in New Issue