bpo-38614: Use test.support.LOOPBACK_TIMEOUT constant (GH-17554)

Replace hardcoded timeout constants in tests with LOOPBACK_TIMEOUT of
test.support, so it's easier to ajdust this timeout for all tests at
once.
This commit is contained in:
Victor Stinner 2019-12-10 20:32:59 +01:00 committed by GitHub
parent 680068c288
commit 07871b256c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 71 additions and 42 deletions

View file

@ -109,7 +109,7 @@ else:
class SimpleIMAPHandler(socketserver.StreamRequestHandler):
timeout = 1
timeout = support.LOOPBACK_TIMEOUT
continuation = None
capabilities = ''