summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-04-24 21:05:30 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-04-24 21:05:30 (GMT)
commita6f26c1d3495670c02c2ceb1e38ada0d468579f7 (patch)
tree0fe173ee82748239d48aa022592ae68f90a044de /Lib/test
parentfd2839e1de4e1eac61d982fe3a0d2b4602f3fd3e (diff)
downloadcpython-a6f26c1d3495670c02c2ceb1e38ada0d468579f7.zip
cpython-a6f26c1d3495670c02c2ceb1e38ada0d468579f7.tar.gz
cpython-a6f26c1d3495670c02c2ceb1e38ada0d468579f7.tar.bz2
Remove more unused imports in tests.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/eintrdata/eintr_tester.py1
-rw-r--r--Lib/test/test_eintr.py1
-rw-r--r--Lib/test/test_imp.py1
-rw-r--r--Lib/test/test_json/test_fail.py1
-rw-r--r--Lib/test/test_subprocess.py1
-rw-r--r--Lib/test/test_symbol.py1
-rw-r--r--Lib/test/test_threading.py1
-rw-r--r--Lib/test/test_tools/__init__.py1
8 files changed, 0 insertions, 8 deletions
diff --git a/Lib/test/eintrdata/eintr_tester.py b/Lib/test/eintrdata/eintr_tester.py
index 1cb86e5..ffcdb98 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 1c9b84f..25f86d3 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 efb0384..4ece365 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 95ff5b8..7910521 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 786b8cf..e7519a2 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 2dcb9de..c1306f5 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 0e70016..d6317c7 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 04c8726..4d0fca3 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