Home
last modified time | relevance | path

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

/third_party/python/Lib/test/test_importlib/builtin/
Dtest_loader.py11 @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 …]
Dtest_finder.py11 @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,
/third_party/python/Lib/test/test_importlib/
Dutil.py26 BUILTINS = types.SimpleNamespace() namespace
27 BUILTINS.good_name = None
28 BUILTINS.bad_name = None
30 BUILTINS.good_name = 'errno'
32 BUILTINS.bad_name = 'importlib'