bpo-40275: Move TransientResource to test_urllib2net (GH-20812)

Move TransientResource, time_out, socket_peer_reset and
ioerror_peer_reset from test.support to test_urllib2net.

Remove "import errno" from test.support.
This commit is contained in:
Victor Stinner 2020-06-11 18:26:23 +02:00 committed by GitHub
parent bcd7deed91
commit 311110abcd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 37 additions and 48 deletions

View file

@ -660,7 +660,6 @@ class TestSupport(unittest.TestCase):
# findfile
# check_warnings
# EnvironmentVarGuard
# TransientResource
# transient_internet
# run_with_locale
# set_memlimit