summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_codecs.py
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2022-03-10 16:20:11 (GMT)
committerGitHub <noreply@github.com>2022-03-10 16:20:11 (GMT)
commit6c83c8e6b56b57a8a794e7b6c07837be4ce3bb97 (patch)
treebcd064ca27a9256c4d14aeccbac5bad0cf802c4d /Lib/test/test_codecs.py
parentf537b2a4fb86445ee3bd6ca7f10bc9d3a9f37da5 (diff)
downloadcpython-6c83c8e6b56b57a8a794e7b6c07837be4ce3bb97.zip
cpython-6c83c8e6b56b57a8a794e7b6c07837be4ce3bb97.tar.gz
cpython-6c83c8e6b56b57a8a794e7b6c07837be4ce3bb97.tar.bz2
bpo-46198: rename duplicate tests and remove unused code (GH-30297)
Diffstat (limited to 'Lib/test/test_codecs.py')
-rw-r--r--Lib/test/test_codecs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_codecs.py b/Lib/test/test_codecs.py
index 8118ec6..5853e08 100644
--- a/Lib/test/test_codecs.py
+++ b/Lib/test/test_codecs.py
@@ -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