Home
last modified time | relevance | path

Searched refs:TestingImporter (Results 1 – 1 of 1) sorted by relevance

/external/python/cpython3/Lib/test/test_importlib/
Dtest_lazy.py38 class TestingImporter(abc.MetaPathFinder, abc.Loader): class
63 loader = TestingImporter()
66 spec = util.spec_from_loader(TestingImporter.module_name,
70 module = types.ModuleType(TestingImporter.module_name)
80 importer = TestingImporter()
95 self.assertEqual(TestingImporter.mutated_name, module.__name__)
129 with test_util.uncache(TestingImporter.module_name):
130 fresh_module = types.ModuleType(TestingImporter.module_name)
131 sys.modules[TestingImporter.module_name] = fresh_module
137 with test_util.uncache(TestingImporter.module_name):
[all …]