mirror of
https://github.com/python/cpython.git
synced 2025-10-31 18:28:49 +00:00
Issue #23277: Remove unused imports in tests.
This commit is contained in:
parent
597d15afe4
commit
e437a10d15
79 changed files with 23 additions and 117 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue