mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
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:
parent
680068c288
commit
07871b256c
10 changed files with 71 additions and 42 deletions
|
@ -109,7 +109,7 @@ else:
|
|||
|
||||
|
||||
class SimpleIMAPHandler(socketserver.StreamRequestHandler):
|
||||
timeout = 1
|
||||
timeout = support.LOOPBACK_TIMEOUT
|
||||
continuation = None
|
||||
capabilities = ''
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue