Issue #23277: Remove unused imports in tests.
diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py
index 008c751..df8a891 100644
--- a/Lib/test/test_urllib2.py
+++ b/Lib/test/test_urllib2.py
@@ -462,7 +462,7 @@
         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