Searched refs:TestingImporter (Results 1 – 1 of 1) sorted by relevance
38 class TestingImporter(abc.MetaPathFinder, abc.Loader): class63 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_module137 with test_util.uncache(TestingImporter.module_name):[all …]