Commit a6f26c1d authored by Serhiy Storchaka's avatar Serhiy Storchaka

Remove more unused imports in tests.

parent fd2839e1
...@@ -3,7 +3,6 @@ from ctypes.test import need_symbol ...@@ -3,7 +3,6 @@ from ctypes.test import need_symbol
import unittest import unittest
import os import os
import ctypes
import _ctypes_test import _ctypes_test
class BITS(Structure): class BITS(Structure):
......
import unittest import unittest
from ctypes import * from ctypes import *
import re, struct, sys import re, sys
if sys.byteorder == "little": if sys.byteorder == "little":
THIS_ENDIAN = "<" THIS_ENDIAN = "<"
......
...@@ -3,10 +3,8 @@ ...@@ -3,10 +3,8 @@
# Python imports # Python imports
import unittest import unittest
import sys
import os import os
import os.path import os.path
import re
from textwrap import dedent from textwrap import dedent
# Local imports # Local imports
......
...@@ -10,7 +10,6 @@ sub-second periodicity (contrarily to signal()). ...@@ -10,7 +10,6 @@ sub-second periodicity (contrarily to signal()).
import contextlib import contextlib
import faulthandler import faulthandler
import io
import os import os
import select import select
import signal import signal
......
import os import os
import signal import signal
import subprocess
import unittest import unittest
from test import support from test import support
......
...@@ -6,7 +6,6 @@ import importlib ...@@ -6,7 +6,6 @@ import importlib
import importlib.util import importlib.util
import os import os
import os.path import os.path
import shutil
import sys import sys
from test import support from test import support
import unittest import unittest
......
from test.test_json import PyTest, CTest from test.test_json import PyTest, CTest
import re
# 2007-10-05 # 2007-10-05
JSONDOCS = [ JSONDOCS = [
......
import unittest import unittest
from test.support import script_helper
from test import support from test import support
import subprocess import subprocess
import sys import sys
......
import unittest import unittest
from test import support from test import support
import filecmp
import os import os
import sys import sys
import subprocess import subprocess
......
...@@ -7,7 +7,6 @@ from test.support import verbose, import_module, cpython_only ...@@ -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 from test.support.script_helper import assert_python_ok, assert_python_failure
import random import random
import re
import sys import sys
_thread = import_module('_thread') _thread = import_module('_thread')
threading = import_module('threading') threading = import_module('threading')
......
...@@ -3,7 +3,6 @@ import os ...@@ -3,7 +3,6 @@ import os
import unittest import unittest
import importlib import importlib
from test import support from test import support
from fnmatch import fnmatch
basepath = os.path.dirname( # <src/install dir> basepath = os.path.dirname( # <src/install dir>
os.path.dirname( # Lib os.path.dirname( # Lib
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment