diff options
author | Brett Cannon <brett@python.org> | 2012-08-10 16:21:12 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2012-08-10 16:21:12 (GMT) |
commit | f4dc9204cc406ab41c2d643c1a64375a6a2954e5 (patch) | |
tree | c0cf92198b707bac6a68b801305ad86b24eb814f /Lib/test/test_importlib/test_abc.py | |
parent | 2d6266d5f148549979df024459e29b73307b86c4 (diff) | |
download | cpython-f4dc9204cc406ab41c2d643c1a64375a6a2954e5.zip cpython-f4dc9204cc406ab41c2d643c1a64375a6a2954e5.tar.gz cpython-f4dc9204cc406ab41c2d643c1a64375a6a2954e5.tar.bz2 |
Issue #15502: Finish bringing importlib.abc in line with the current
state of the import system. Also make importlib.invalidate_caches()
work with sys.meta_path instead of sys.path_importer_cache to
completely separate the path-based import system from the overall
import system.
Patch by Eric Snow.
Diffstat (limited to 'Lib/test/test_importlib/test_abc.py')
-rw-r--r-- | Lib/test/test_importlib/test_abc.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_importlib/test_abc.py b/Lib/test/test_importlib/test_abc.py index aa87591..c620c37 100644 --- a/Lib/test/test_importlib/test_abc.py +++ b/Lib/test/test_importlib/test_abc.py @@ -36,11 +36,13 @@ class MetaPathFinder(InheritanceTests, unittest.TestCase): subclasses = [machinery.BuiltinImporter, machinery.FrozenImporter, machinery.PathFinder, machinery.WindowsRegistryFinder] + class PathEntryFinder(InheritanceTests, unittest.TestCase): superclasses = [abc.Finder] subclasses = [machinery.FileFinder] + class Loader(InheritanceTests, unittest.TestCase): subclasses = [abc.PyLoader] |