Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/test_importlib/builtin/
Dtest_finder.py10 @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,
Dtest_loader.py10 @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)
/external/libchrome/base/i18n/
Dfile_util_icu_unittest.cc29 const char* good_name; member
44 EXPECT_EQ(kLinuxIllegalCharacterCases[i].good_name, bad_name); in TEST_F()
55 const wchar_t* good_name; member
92 EXPECT_EQ(kIllegalCharacterCases[i].good_name, bad_name); in TEST_F()
96 EXPECT_EQ(WideToUTF8(kIllegalCharacterCases[i].good_name), bad_name); in TEST_F()
108 string16 good_name = WideToUTF16(test_case.good_name); in TEST_F() local
110 EXPECT_TRUE(IsFilenameLegal(good_name)) << good_name; in TEST_F()
111 if (good_name != bad_name) in TEST_F()
/external/python/cpython3/Lib/test/test_importlib/extension/
Dtest_case_sensitivity.py16 good_name = util.EXTENSIONS.name
17 bad_name = good_name.upper()
18 assert good_name != bad_name
/external/python/cpython3/Lib/test/test_importlib/
Dutil.py25 BUILTINS.good_name = None
28 BUILTINS.good_name = 'errno'