diff options
Diffstat (limited to 'Lib/test/test_timeout.py')
-rw-r--r-- | Lib/test/test_timeout.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_timeout.py b/Lib/test/test_timeout.py index 0fe4c7ab6e..ff41b13a6c 100644 --- a/Lib/test/test_timeout.py +++ b/Lib/test/test_timeout.py @@ -199,10 +199,7 @@ class TCPTimeoutTestCase(TimeoutTestCase): skip = True sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) - # Use a timeout of 3 seconds. Why 3? Because it's more than 1, and - # less than 5. i.e. no particular reason. Feel free to tweak it if - # you feel a different value would be more appropriate. - timeout = 3 + timeout = support.LOOPBACK_TIMEOUT sock.settimeout(timeout) try: sock.connect((whitehole)) |