From: Neal Norwitz Date: Fri, 17 Mar 2006 04:37:34 +0000 (+0000) Subject: Try to find a host that responds slower from python.org so this test does not fail... X-Git-Tag: v2.5a0~204 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8749316c08cc03615dde15885000207f1279fd0c;p=thirdparty%2FPython%2Fcpython.git Try to find a host that responds slower from python.org so this test does not fail on macteagle (G4 OSX.4 in buildbot) --- diff --git a/Lib/test/test_timeout.py b/Lib/test/test_timeout.py index cb19d9eaea4c..444934b9e359 100644 --- a/Lib/test/test_timeout.py +++ b/Lib/test/test_timeout.py @@ -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,