Searched refs:BUILTINS (Results 1 – 3 of 3) sorted by relevance
10 @unittest.skipIf(util.BUILTINS.good_name is None, 'no reasonable builtin module')31 with util.uncache(util.BUILTINS.good_name):32 module = self.load_module(util.BUILTINS.good_name)43 with util.uncache(util.BUILTINS.good_name):44 module1 = self.load_module(util.BUILTINS.good_name)45 module2 = self.load_module(util.BUILTINS.good_name)73 @unittest.skipIf(util.BUILTINS.good_name is None, 'no reasonable builtin module')80 result = self.machinery.BuiltinImporter.get_code(util.BUILTINS.good_name)85 result = self.machinery.BuiltinImporter.get_source(util.BUILTINS.good_name)90 result = self.machinery.BuiltinImporter.is_package(util.BUILTINS.good_name)[all …]
10 @unittest.skipIf(util.BUILTINS.good_name is None, 'no reasonable builtin module')17 with util.uncache(util.BUILTINS.good_name):18 found = self.machinery.BuiltinImporter.find_spec(util.BUILTINS.good_name)42 with util.uncache(util.BUILTINS.good_name):43 spec = self.machinery.BuiltinImporter.find_spec(util.BUILTINS.good_name,53 @unittest.skipIf(util.BUILTINS.good_name is None, 'no reasonable builtin module')60 with util.uncache(util.BUILTINS.good_name):61 found = self.machinery.BuiltinImporter.find_module(util.BUILTINS.good_name)78 with util.uncache(util.BUILTINS.good_name):79 loader = self.machinery.BuiltinImporter.find_module(util.BUILTINS.good_name,
23 BUILTINS = types.SimpleNamespace() namespace24 BUILTINS.good_name = None25 BUILTINS.bad_name = None27 BUILTINS.good_name = 'errno'29 BUILTINS.bad_name = 'importlib'