mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue