mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
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.
This commit is contained in:
parent
2d6266d5f1
commit
f4dc9204cc
8 changed files with 1294 additions and 1207 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue