summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_unittest
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-06-22 17:14:27 (GMT)
committerGitHub <noreply@github.com>2022-06-22 17:14:27 (GMT)
commit47e35625ff2c4e6511a12e7178c3e4fbc965b634 (patch)
treee9a6b4d687233135f993260b12011613b9189058 /Lib/test/test_unittest
parent8661c5053fbe3e246289d77e49a813470b3a16f7 (diff)
downloadcpython-47e35625ff2c4e6511a12e7178c3e4fbc965b634.zip
cpython-47e35625ff2c4e6511a12e7178c3e4fbc965b634.tar.gz
cpython-47e35625ff2c4e6511a12e7178c3e4fbc965b634.tar.bz2
gh-84623: Remove unused imports (#94132)
Diffstat (limited to 'Lib/test/test_unittest')
-rw-r--r--Lib/test/test_unittest/test_program.py2
-rw-r--r--Lib/test/test_unittest/test_result.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_unittest/test_program.py b/Lib/test/test_unittest/test_program.py
index 169fc4e..3fecbcd 100644
--- a/Lib/test/test_unittest/test_program.py
+++ b/Lib/test/test_unittest/test_program.py
@@ -1,5 +1,3 @@
-import io
-
import os
import sys
import subprocess
diff --git a/Lib/test/test_unittest/test_result.py b/Lib/test/test_unittest/test_result.py
index b0cc3d8..eeb1599 100644
--- a/Lib/test/test_unittest/test_result.py
+++ b/Lib/test/test_unittest/test_result.py
@@ -2,7 +2,7 @@ import io
import sys
import textwrap
-from test.support import warnings_helper, captured_stdout, captured_stderr
+from test.support import warnings_helper, captured_stdout
import traceback
import unittest