From 6e813188dbda129efc75d16ce912293adc229576 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 3 Sep 2002 19:17:47 +0000 Subject: testConnectTimeout(): set the timeout to a smaller value; 0.02 sometimes wasn't short enough. --- Lib/test/test_timeout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_timeout.py b/Lib/test/test_timeout.py index a8a935f..65470d7 100644 --- a/Lib/test/test_timeout.py +++ b/Lib/test/test_timeout.py @@ -99,7 +99,7 @@ class TimeoutTestCase(unittest.TestCase): def testConnectTimeout(self): # Test connect() timeout - _timeout = 0.02 + _timeout = 0.001 self.sock.settimeout(_timeout) _t1 = time.time() -- cgit v0.12