Searched refs:BUILTINS (Results 1 – 3 of 3) sorted by relevance
11 @unittest.skipIf(util.BUILTINS.good_name is None, 'no reasonable builtin module')34 with util.uncache(util.BUILTINS.good_name):35 module = self.load_module(util.BUILTINS.good_name)46 with util.uncache(util.BUILTINS.good_name):47 module1 = self.load_module(util.BUILTINS.good_name)48 module2 = self.load_module(util.BUILTINS.good_name)76 @unittest.skipIf(util.BUILTINS.good_name is None, 'no reasonable builtin module')83 result = self.machinery.BuiltinImporter.get_code(util.BUILTINS.good_name)88 result = self.machinery.BuiltinImporter.get_source(util.BUILTINS.good_name)93 result = self.machinery.BuiltinImporter.is_package(util.BUILTINS.good_name)[all …]
11 @unittest.skipIf(util.BUILTINS.good_name is None, 'no reasonable builtin module')18 with util.uncache(util.BUILTINS.good_name):19 found = self.machinery.BuiltinImporter.find_spec(util.BUILTINS.good_name)43 with util.uncache(util.BUILTINS.good_name):44 spec = self.machinery.BuiltinImporter.find_spec(util.BUILTINS.good_name,54 @unittest.skipIf(util.BUILTINS.good_name is None, 'no reasonable builtin module')61 with util.uncache(util.BUILTINS.good_name):64 found = self.machinery.BuiltinImporter.find_module(util.BUILTINS.good_name)83 with util.uncache(util.BUILTINS.good_name):87 util.BUILTINS.good_name,
26 BUILTINS = types.SimpleNamespace() namespace27 BUILTINS.good_name = None28 BUILTINS.bad_name = None30 BUILTINS.good_name = 'errno'32 BUILTINS.bad_name = 'importlib'