diff options
-rw-r--r-- | Lib/ctypes/test/test_bitfields.py | 1 | ||||
-rw-r--r-- | Lib/ctypes/test/test_pep3118.py | 2 | ||||
-rw-r--r-- | Lib/lib2to3/tests/support.py | 2 | ||||
-rw-r--r-- | Lib/test/eintrdata/eintr_tester.py | 1 | ||||
-rw-r--r-- | Lib/test/test_eintr.py | 1 | ||||
-rw-r--r-- | Lib/test/test_imp.py | 1 | ||||
-rw-r--r-- | Lib/test/test_json/test_fail.py | 1 | ||||
-rw-r--r-- | Lib/test/test_subprocess.py | 1 | ||||
-rw-r--r-- | Lib/test/test_symbol.py | 1 | ||||
-rw-r--r-- | Lib/test/test_threading.py | 1 | ||||
-rw-r--r-- | Lib/test/test_tools/__init__.py | 1 |
11 files changed, 1 insertions, 12 deletions
diff --git a/Lib/ctypes/test/test_bitfields.py b/Lib/ctypes/test/test_bitfields.py index b39d82cc0b..0eb09fb4bf 100644 --- a/Lib/ctypes/test/test_bitfields.py +++ b/Lib/ctypes/test/test_bitfields.py @@ -3,7 +3,6 @@ from ctypes.test import need_symbol import unittest import os -import ctypes import _ctypes_test class BITS(Structure): diff --git a/Lib/ctypes/test/test_pep3118.py b/Lib/ctypes/test/test_pep3118.py index 32f802c861..d68397ea80 100644 --- a/Lib/ctypes/test/test_pep3118.py +++ b/Lib/ctypes/test/test_pep3118.py @@ -1,6 +1,6 @@ import unittest from ctypes import * -import re, struct, sys +import re, sys if sys.byteorder == "little": THIS_ENDIAN = "<" diff --git a/Lib/lib2to3/tests/support.py b/Lib/lib2to3/tests/support.py index 6f2d214bd4..7153bb6990 100644 --- a/Lib/lib2to3/tests/support.py +++ b/Lib/lib2to3/tests/support.py @@ -3,10 +3,8 @@ # Python imports import unittest -import sys import os import os.path -import re from textwrap import dedent # Local imports diff --git a/Lib/test/eintrdata/eintr_tester.py b/Lib/test/eintrdata/eintr_tester.py index 1cb86e5be0..ffcdb98605 100644 --- a/Lib/test/eintrdata/eintr_tester.py +++ b/Lib/test/eintrdata/eintr_tester.py @@ -10,7 +10,6 @@ sub-second periodicity (contrarily to signal()). import contextlib import faulthandler -import io import os import select import signal diff --git a/Lib/test/test_eintr.py b/Lib/test/test_eintr.py index 1c9b84f537..25f86d31de 100644 --- a/Lib/test/test_eintr.py +++ b/Lib/test/test_eintr.py @@ -1,6 +1,5 @@ import os import signal -import subprocess import unittest from test import support diff --git a/Lib/test/test_imp.py b/Lib/test/test_imp.py index efb03840c4..4ece365410 100644 --- a/Lib/test/test_imp.py +++ b/Lib/test/test_imp.py @@ -6,7 +6,6 @@ import importlib import importlib.util import os import os.path -import shutil import sys from test import support import unittest diff --git a/Lib/test/test_json/test_fail.py b/Lib/test/test_json/test_fail.py index 95ff5b8d1e..7910521021 100644 --- a/Lib/test/test_json/test_fail.py +++ b/Lib/test/test_json/test_fail.py @@ -1,5 +1,4 @@ from test.test_json import PyTest, CTest -import re # 2007-10-05 JSONDOCS = [ diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index 786b8cfeed..e7519a2360 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -1,5 +1,4 @@ import unittest -from test.support import script_helper from test import support import subprocess import sys diff --git a/Lib/test/test_symbol.py b/Lib/test/test_symbol.py index 2dcb9de8b0..c1306f5432 100644 --- a/Lib/test/test_symbol.py +++ b/Lib/test/test_symbol.py @@ -1,6 +1,5 @@ import unittest from test import support -import filecmp import os import sys import subprocess diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py index 0e7001617d..d6317c71bf 100644 --- a/Lib/test/test_threading.py +++ b/Lib/test/test_threading.py @@ -7,7 +7,6 @@ from test.support import verbose, import_module, cpython_only from test.support.script_helper import assert_python_ok, assert_python_failure import random -import re import sys _thread = import_module('_thread') threading = import_module('threading') diff --git a/Lib/test/test_tools/__init__.py b/Lib/test/test_tools/__init__.py index 04c8726e11..4d0fca330a 100644 --- a/Lib/test/test_tools/__init__.py +++ b/Lib/test/test_tools/__init__.py @@ -3,7 +3,6 @@ import os import unittest import importlib from test import support -from fnmatch import fnmatch basepath = os.path.dirname( # <src/install dir> os.path.dirname( # Lib |