mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
bpo-46198: rename duplicate tests and remove unused code (GH-30297)
This commit is contained in:
parent
f537b2a4fb
commit
6c83c8e6b5
10 changed files with 8 additions and 15 deletions
|
@ -36,7 +36,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
|
||||
from ctypes.wintypes import BOOL, UINT, BYTE, WCHAR, UINT, DWORD
|
||||
from ctypes.wintypes import BOOL, BYTE, WCHAR, UINT, DWORD
|
||||
|
||||
MAX_LEADBYTES = 12 # 5 ranges, 2 bytes ea., 0 term.
|
||||
MAX_DEFAULTCHAR = 2 # single or double byte
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue