Remove unused imports in tests (GH-14518)

This commit is contained in:
Victor Stinner 2019-07-01 18:28:25 +02:00 committed by GitHub
parent f9b7457bd7
commit 8f4ef3b019
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
53 changed files with 31 additions and 84 deletions

View file

@ -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.