aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_urllib2.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-04-24 21:41:02 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2016-04-24 21:41:02 +0300
commite437a10d15ddfd21d406e591acccf12ff443194e (patch)
treef6227687646fda64f9eaf485ae2d9c3f55709232 /Lib/test/test_urllib2.py
parent597d15afe45ea3a8613d336e68a0a98b8846e603 (diff)
downloadcpython-e437a10d15ddfd21d406e591acccf12ff443194e.tar.gz
cpython-e437a10d15ddfd21d406e591acccf12ff443194e.zip
Issue #23277: Remove unused imports in tests.
Diffstat (limited to 'Lib/test/test_urllib2.py')
-rw-r--r--Lib/test/test_urllib2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py
index 008c751f9c6..df8a8916450 100644
--- a/Lib/test/test_urllib2.py
+++ b/Lib/test/test_urllib2.py
@@ -462,7 +462,7 @@ class MockHTTPHandler(urllib.request.BaseHandler):
self.requests = []
def http_open(self, req):
- import email, http.client, copy
+ import email, copy
self.requests.append(copy.deepcopy(req))
if self._count == 0:
self._count = self._count + 1