summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib/extension
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-06-06 20:50:43 (GMT)
committerGitHub <noreply@github.com>2023-06-06 20:50:43 (GMT)
commitae319e4b43dc0d9d94d36bdcdbc5443364398c29 (patch)
treeaef03900c10c94d8cc3848a3f5e9a5c3d6bcaf81 /Lib/test/test_importlib/extension
parentd3a0eacbf382288a487d40f16d63abfeb2125e1a (diff)
downloadcpython-ae319e4b43dc0d9d94d36bdcdbc5443364398c29.zip
cpython-ae319e4b43dc0d9d94d36bdcdbc5443364398c29.tar.gz
cpython-ae319e4b43dc0d9d94d36bdcdbc5443364398c29.tar.bz2
gh-105407: Remove unused imports in tests (#105408)
Diffstat (limited to 'Lib/test/test_importlib/extension')
-rw-r--r--Lib/test/test_importlib/extension/test_loader.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/test_importlib/extension/test_loader.py b/Lib/test/test_importlib/extension/test_loader.py
index a7c6245..64c8a54 100644
--- a/Lib/test/test_importlib/extension/test_loader.py
+++ b/Lib/test/test_importlib/extension/test_loader.py
@@ -1,4 +1,3 @@
-from warnings import catch_warnings
from test.test_importlib import abc, util
machinery = util.import_importlib('importlib.machinery')
@@ -10,7 +9,6 @@ import unittest
import warnings
import importlib.util
import importlib
-from test.support.script_helper import assert_python_failure
class LoaderTests: