/third_party/python/Lib/test/test_importlib/import_/ |
D | test_relative_imports.py | 81 self.__import__('pkg') # For __import__(). 82 module = self.__import__('', global_, fromlist=['mod2'], level=1) 93 self.__import__('pkg') # For __import__(). 94 module = self.__import__('mod2', global_, fromlist=['attr'], 106 self.__import__('pkg') # For __import__(). 107 module = self.__import__('', global_, fromlist=['module'], 119 self.__import__('pkg') # For __import__(). 120 module = self.__import__('', global_, fromlist=['attr'], level=1) 131 module = self.__import__('', global_, fromlist=['subpkg2'], 148 self.__import__(globals_[0]['__package__']) [all …]
|
D | test_fromlist.py | 22 module = self.__import__('pkg.module') 29 module = self.__import__('pkg.module', fromlist=['attr']) 35 ) = util.test_both(ReturnValue, __import__=util.__import__) 57 module = self.__import__('module', fromlist=['attr']) 64 module = self.__import__('module', fromlist=['non_existent']) 72 module = self.__import__('pkg', fromlist=['module']) 80 module = self.__import__('pkg', fromlist=['non_existent']) 94 self.__import__('pkg', fromlist=['mod']) 100 module = self.__import__('pkg.mod', fromlist=['']) 108 module = self.__import__('pkg', fromlist=fromlist) [all …]
|
D | test_packages.py | 15 module = self.__import__('pkg.module') 22 self.__import__('pkg.module') 34 self.__import__('pkg') 38 self.__import__('pkg.module') 53 self.__import__('pkg') 56 self.__import__('pkg.module') 73 self.__import__('pkg.subpkg') 76 self.__import__('pkg.subpkg.module') 85 self.__import__('sys.no_submodules_here') 100 submodule = self.__import__(subname) [all …]
|
D | test___package__.py | 40 self.__import__('pkg.fake') 41 module = self.__import__('', 85 self.__import__('', globals, {}, ['relimport'], 1) 90 self.__import__('', globals, {}, ['relimport'], 1) 114 ) = util.test_both(Using__package__PEP302, __import__=util.__import__) 123 ) = util.test_both(Using__package__PEP451, __import__=util.__import__) 138 __import__ = util.__import__['Source'] variable in Setting__package__ 145 module = self.__import__('top_level') 153 module = self.__import__('pkg') 161 pkg = self.__import__('pkg.mod')
|
D | test_caching.py | 30 module = self.__import__('some_module') 39 self.__import__(name) 45 ) = util.test_both(UseCache, __import__=util.__import__) 52 __import__ = util.__import__['Source'] variable in ImportlibUseCache 71 module = self.__import__('module') 81 module = self.__import__('pkg.module') 93 module = self.__import__('pkg', fromlist=['module'])
|
D | test_meta_path.py | 22 self.assertIs(self.__import__(mod), first.modules[mod]) 31 self.assertIs(self.__import__(mod_name), second.modules[mod_name]) 51 ) = util.test_both(CallingOrder, __import__=util.__import__) 76 self.__import__(mod_name) 94 self.__import__(mod_name) 123 ) = util.test_both(CallSignaturePEP302, __import__=util.__import__) 133 ) = util.test_both(CallSignaturePEP451, __import__=util.__import__)
|
D | test___loader__.py | 27 module = self.__import__('blah') 33 ) = util.test_both(SpecLoaderAttributeTests, __import__=util.__import__) 59 module = self.__import__('blah') 70 returned_module = self.__import__('blah') 76 ) = util.test_both(LoaderAttributeTests, __import__=util.__import__)
|
D | test_api.py | 54 self.__import__(42) 61 self.__import__('os', globals(), level=-1) 71 self.__import__(PKG_NAME, fromlist=['not here']) 83 self.__import__(PKG_NAME, 96 self.__import__(PKG_NAME, 137 ) = util.test_both(OldAPITests, __import__=util.__import__) 146 ) = util.test_both(SpecAPITests, __import__=util.__import__)
|
/third_party/mindspore/mindspore/_extends/parallel_compile/tbe_compiler/ |
D | helper.py | 50 op_module = __import__(op_name) 52 op_module = __import__("impl." + op_name, globals(), locals(), [op_name], 0) 100 op_module = __import__(op_name) 102 op_module = __import__("impl.dynamic." + op_name, globals(), locals(), [op_name], 0) 104 op_module = __import__("impl." + op_name, globals(), locals(), [op_name], 0)
|
/third_party/python/Lib/test/test_import/ |
D | __init__.py | 171 mod = __import__(TESTFN) 246 self.assertRaises(ZeroDivisionError, __import__, TESTFN) 289 mod = __import__(TESTFN) 328 mod = __import__(TESTFN) 334 mod = __import__(TESTFN) 351 __import__(path) 383 __import__(TESTFN) 392 __import__('http', fromlist=['blah']) 529 module = __import__(name) 548 __import__(name) [all …]
|
/third_party/curl/tests/data/ |
D | test1451 | 32 …__import__('pkgutil').find_loader('impacket') or (__import__('sys').stdout.write('Test only works …
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | __init__.py | 2 __import__('pkg_resources').declare_namespace(__name__) 4 __path__ = __import__('pkgutil').extend_path(__path__, __name__)
|
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/ |
D | __init__.py | 2 __import__('pkg_resources').declare_namespace(__name__) 4 __path__ = __import__('pkgutil').extend_path(__path__, __name__)
|
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/ |
D | __init__.py | 2 __import__('pkg_resources').declare_namespace(__name__) 4 __path__ = __import__('pkgutil').extend_path(__path__, __name__)
|
/third_party/protobuf/python/google/ |
D | __init__.py | 2 __import__('pkg_resources').declare_namespace(__name__) 4 __path__ = __import__('pkgutil').extend_path(__path__, __name__)
|
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/ |
D | __init__.py | 2 __import__('pkg_resources').declare_namespace(__name__) 4 __path__ = __import__('pkgutil').extend_path(__path__, __name__)
|
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/ |
D | __init__.py | 35 __import__('pkg_resources').declare_namespace(__name__) 37 __path__ = __import__('pkgutil').extend_path(__path__, __name__)
|
/third_party/protobuf/python/google/protobuf/ |
D | __init__.py | 37 __import__('pkg_resources').declare_namespace(__name__) 39 __path__ = __import__('pkgutil').extend_path(__path__, __name__)
|
/third_party/python/Lib/test/test_importlib/ |
D | test_pkg_import.py | 54 try: __import__(self.module_name) 68 try: __import__(self.module_name) 75 module = __import__(self.module_name).foo
|
/third_party/python/Tools/importbench/ |
D | importbench.py | 171 __builtins__.__import__ = import_ 196 len(benchmarks) * seconds * repeat, __import__)) 240 import_ = __import__ 242 import_ = importlib.__import__
|
/third_party/mindspore/mindspore/_extends/parse/ |
D | namespace.py | 60 mod_dict = vars(__import__(name, fromlist=['_'])) 69 mod_dict = vars(__import__(name, fromlist=['_']))
|
/third_party/nghttp2/doc/_exts/sphinxcontrib/ |
D | __init__.py | 13 __import__('pkg_resources').declare_namespace(__name__)
|
/third_party/boost/tools/build/src/tools/types/ |
D | __init__.py | 14 m = __import__ (__name__ + '.' + i)
|
/third_party/python/Lib/test/ |
D | mp_preload.py | 14 __import__(modname)
|
D | xmltests.py | 10 __import__(name)
|