Issue #17177: Stop using imp in a bunch of tests

This commit is contained in:
Brett Cannon 2013-06-15 17:11:25 -04:00
parent 8a2a902f88
commit 9529fbfd36
7 changed files with 17 additions and 15 deletions

View file

@ -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