summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tools
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-04-29 23:48:37 (GMT)
committerGitHub <noreply@github.com>2020-04-29 23:48:37 (GMT)
commit57572b103ebd8732ac21922f0051a7f140d0e405 (patch)
treea8e74f2774656002b1c6247bd5f0b4ca98e99140 /Lib/test/test_tools
parent69e802ed812e38cb68a4ab74af64b4f719b6cc78 (diff)
downloadcpython-57572b103ebd8732ac21922f0051a7f140d0e405.zip
cpython-57572b103ebd8732ac21922f0051a7f140d0e405.tar.gz
cpython-57572b103ebd8732ac21922f0051a7f140d0e405.tar.bz2
bpo-40443: Remove unused imports in tests (GH-19805)
Diffstat (limited to 'Lib/test/test_tools')
-rw-r--r--Lib/test/test_tools/test_c_analyzer/test_parser/test_preprocessor.py1
-rw-r--r--Lib/test/test_tools/test_lll.py1
-rw-r--r--Lib/test/test_tools/test_pathfix.py2
3 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_tools/test_c_analyzer/test_parser/test_preprocessor.py b/Lib/test/test_tools/test_c_analyzer/test_parser/test_preprocessor.py
index 56a1c9c..b7f950f 100644
--- a/Lib/test/test_tools/test_c_analyzer/test_parser/test_preprocessor.py
+++ b/Lib/test/test_tools/test_c_analyzer/test_parser/test_preprocessor.py
@@ -1,4 +1,3 @@
-import itertools
import textwrap
import unittest
import sys
diff --git a/Lib/test/test_tools/test_lll.py b/Lib/test/test_tools/test_lll.py
index b01e218..568cbfb 100644
--- a/Lib/test/test_tools/test_lll.py
+++ b/Lib/test/test_tools/test_lll.py
@@ -1,7 +1,6 @@
"""Tests for the lll script in the Tools/script directory."""
import os
-import sys
import tempfile
from test import support
from test.test_tools import skip_if_missing, import_tool
diff --git a/Lib/test/test_tools/test_pathfix.py b/Lib/test/test_tools/test_pathfix.py
index ec36117..8b41930 100644
--- a/Lib/test/test_tools/test_pathfix.py
+++ b/Lib/test/test_tools/test_pathfix.py
@@ -3,7 +3,7 @@ import subprocess
import sys
import unittest
from test import support
-from test.test_tools import import_tool, scriptsdir, skip_if_missing
+from test.test_tools import scriptsdir, skip_if_missing
# need Tools/script/ directory: skip if run on Python installed on the system