]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38614: Use test.support.INTERNET_TIMEOUT constant (GH-17565)
authorVictor Stinner <vstinner@python.org>
Tue, 10 Dec 2019 21:09:23 +0000 (22:09 +0100)
committerGitHub <noreply@github.com>
Tue, 10 Dec 2019 21:09:23 +0000 (22:09 +0100)
commit1d0f9b316a290f0e1f330fdbceb027deb96ce109
treeaa11a994386b9fb60f07d161810a4c4399775a03
parentc98b0199a984430312833ef403d265be314f7244
bpo-38614: Use test.support.INTERNET_TIMEOUT constant (GH-17565)

Replace hardcoded timeout constants in tests with INTERNET_TIMEOUT of
test.support, so it's easier to ajdust this timeout for all tests at
once.
Lib/test/test_nntplib.py
Lib/test/test_urllib2net.py
Lib/test/test_urllibnet.py