diff options
author | Brett Cannon <brett@python.org> | 2013-06-15 21:11:25 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2013-06-15 21:11:25 (GMT) |
commit | 9529fbfd363959ee4e33baeebcc6c3bc0252b42c (patch) | |
tree | dd983d37097a74680b5037f287dc83aa9391bd36 /Lib/test/test_pkgimport.py | |
parent | 8a2a902f88ce2ab8d0e27a189a65e71aed6dd670 (diff) | |
download | cpython-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/test_pkgimport.py')
-rw-r--r-- | Lib/test/test_pkgimport.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pkgimport.py b/Lib/test/test_pkgimport.py index a8426b5..370b2aa 100644 --- a/Lib/test/test_pkgimport.py +++ b/Lib/test/test_pkgimport.py @@ -6,7 +6,7 @@ import random import tempfile import unittest -from imp import cache_from_source +from importlib.util import cache_from_source from test.support import run_unittest, create_empty_file class TestImport(unittest.TestCase): |