Commit 6e813188 authored by Guido van Rossum's avatar Guido van Rossum

testConnectTimeout(): set the timeout to a smaller value; 0.02

sometimes wasn't short enough.
parent 83a072d9
......@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment