mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Remove unused imports in tests (GH-14518)
This commit is contained in:
parent
f9b7457bd7
commit
8f4ef3b019
53 changed files with 31 additions and 84 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue