Remove more unused imports in tests.

This commit is contained in:
Serhiy Storchaka 2016-04-25 00:05:30 +03:00
parent fd2839e1de
commit a6f26c1d34
11 changed files with 1 additions and 12 deletions

View File

@ -3,7 +3,6 @@ from ctypes.test import need_symbol
import unittest
import os
import ctypes
import _ctypes_test
class BITS(Structure):

View File

@ -1,6 +1,6 @@
import unittest
from ctypes import *
import re, struct, sys
import re, sys
if sys.byteorder == "little":
THIS_ENDIAN = "<"

View File

@ -3,10 +3,8 @@
# Python imports
import unittest
import sys
import os
import os.path
import re
from textwrap import dedent
# Local imports

View File

@ -10,7 +10,6 @@ sub-second periodicity (contrarily to signal()).
import contextlib
import faulthandler
import io
import os
import select
import signal

View File

@ -1,6 +1,5 @@
import os
import signal
import subprocess
import unittest
from test import support

View File

@ -6,7 +6,6 @@ import importlib
import importlib.util
import os
import os.path
import shutil
import sys
from test import support
import unittest

View File

@ -1,5 +1,4 @@
from test.test_json import PyTest, CTest
import re
# 2007-10-05
JSONDOCS = [

View File

@ -1,5 +1,4 @@
import unittest
from test.support import script_helper
from test import support
import subprocess
import sys

View File

@ -1,6 +1,5 @@
import unittest
from test import support
import filecmp
import os
import sys
import subprocess

View File

@ -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')

View File

@ -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