diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-07-01 17:01:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-01 17:01:52 (GMT) |
commit | 466e18e8c2738b06a24915cb186d954821d0414f (patch) | |
tree | 437affb9152ed95d420127eb180a3b2baf3d22a3 /Lib/test/test_codecs.py | |
parent | 59ec9ee4d7f3c2444efb989e96f5124e1c246de5 (diff) | |
download | cpython-466e18e8c2738b06a24915cb186d954821d0414f.zip cpython-466e18e8c2738b06a24915cb186d954821d0414f.tar.gz cpython-466e18e8c2738b06a24915cb186d954821d0414f.tar.bz2 |
Remove unused imports in tests (GH-14518) (GH-14520)
(cherry picked from commit 8f4ef3b019ce380022018587571b0f970e668de3)
Diffstat (limited to 'Lib/test/test_codecs.py')
-rw-r--r-- | Lib/test/test_codecs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_codecs.py b/Lib/test/test_codecs.py index 4317dfc..b187ca6 100644 --- a/Lib/test/test_codecs.py +++ b/Lib/test/test_codecs.py @@ -29,7 +29,7 @@ def coding_checker(self, coder): # On small versions of Windows like Windows IoT or Windows Nano Server not all codepages are present def is_code_page_present(cp): - from ctypes import POINTER, WINFUNCTYPE, windll, WinError, Structure, WinDLL + from ctypes import POINTER, WINFUNCTYPE, WinDLL from ctypes.wintypes import BOOL, UINT, BYTE, WCHAR, UINT, DWORD MAX_LEADBYTES = 12 # 5 ranges, 2 bytes ea., 0 term. |