summaryrefslogtreecommitdiffstats
path: root/Lib/test/script_helper.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-06-15 21:11:25 (GMT)
committerBrett Cannon <brett@python.org>2013-06-15 21:11:25 (GMT)
commit9529fbfd363959ee4e33baeebcc6c3bc0252b42c (patch)
treedd983d37097a74680b5037f287dc83aa9391bd36 /Lib/test/script_helper.py
parent8a2a902f88ce2ab8d0e27a189a65e71aed6dd670 (diff)
downloadcpython-9529fbfd363959ee4e33baeebcc6c3bc0252b42c.zip
cpython-9529fbfd363959ee4e33baeebcc6c3bc0252b42c.tar.gz
cpython-9529fbfd363959ee4e33baeebcc6c3bc0252b42c.tar.bz2
Issue #17177: Stop using imp in a bunch of tests
Diffstat (limited to 'Lib/test/script_helper.py')
-rw-r--r--Lib/test/script_helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/script_helper.py b/Lib/test/script_helper.py
index b09f4bf..3b7df42 100644
--- a/Lib/test/script_helper.py
+++ b/Lib/test/script_helper.py
@@ -12,7 +12,7 @@ import contextlib
import shutil
import zipfile
-from imp import source_from_cache
+from importlib.util import source_from_cache
from test.support import make_legacy_pyc, strip_python_stderr
# Executing the interpreter in a subprocess