[Python-checkins] r43130 - python/branches/release24-maint/Lib/test/test_timeout.py

tim.peters python-checkins at python.org
Sat Mar 18 03:47:39 CET 2006


Author: tim.peters
Date: Sat Mar 18 03:47:38 2006
New Revision: 43130

Modified:
   python/branches/release24-maint/Lib/test/test_timeout.py
Log:
Merge rev 43091 from the trunk.

"""
Try to find a host that responds slower from python.org so this test
does not fail on macteagle (G4 OSX.4 in buildbot)
"""

Since testConnectTimeout() frequently fails in the same way in 2.4
branch, and this patch seems to have fixed it on the trunk, it
should fix it on the 2.4 branch too.


Modified: python/branches/release24-maint/Lib/test/test_timeout.py
==============================================================================
--- python/branches/release24-maint/Lib/test/test_timeout.py	(original)
+++ python/branches/release24-maint/Lib/test/test_timeout.py	Sat Mar 18 03:47:38 2006
@@ -114,7 +114,7 @@
         # 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,


More information about the Python-checkins mailing list