diff options
author | Victor Stinner <vstinner@python.org> | 2019-12-10 19:32:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-10 19:32:59 (GMT) |
commit | 07871b256c76ca561554d1f82b430fc64a5c7ee0 (patch) | |
tree | 2870562d7cf2df7448eb5a16aedb00f2ec3f34ee /Lib/test/test_ftplib.py | |
parent | 680068c28896baba36fa7361976e07bb0f588561 (diff) | |
download | cpython-07871b256c76ca561554d1f82b430fc64a5c7ee0.zip cpython-07871b256c76ca561554d1f82b430fc64a5c7ee0.tar.gz cpython-07871b256c76ca561554d1f82b430fc64a5c7ee0.tar.bz2 |
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.
Diffstat (limited to 'Lib/test/test_ftplib.py')
-rw-r--r-- | Lib/test/test_ftplib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py index b8eef82..62f673c 100644 --- a/Lib/test/test_ftplib.py +++ b/Lib/test/test_ftplib.py @@ -21,7 +21,7 @@ from unittest import TestCase, skipUnless from test import support from test.support import HOST, HOSTv6 -TIMEOUT = 3 +TIMEOUT = support.LOOPBACK_TIMEOUT # the dummy data returned by server over the data channel when # RETR, LIST, NLST, MLSD commands are issued RETR_DATA = 'abcde12345\r\n' * 1000 |