Searched refs:import_state (Results 1 – 16 of 16) sorted by relevance
/external/python/cpython3/Lib/test/test_importlib/import_/ |
D | test_path.py | 25 with util.import_state(): 34 with util.import_state(path_importer_cache={path: importer}, 45 with util.import_state(path_importer_cache={path: importer}): 54 with util.import_state(path_importer_cache={path: importer}, 65 with util.import_state(path_hooks=[hook]): 75 with util.import_state(path_importer_cache={}, path_hooks=[], 90 with util.import_state(path=[path], path_hooks=[hook]): 108 with util.import_state(meta_path=sys.meta_path[:], 125 with util.import_state(path_importer_cache={path: failing_finder}): 130 with util.import_state(path_importer_cache={path: success_finder}): [all …]
|
D | test_fromlist.py | 21 with util.import_state(meta_path=[importer]): 28 with util.import_state(meta_path=[importer]): 56 with util.import_state(meta_path=[importer]): 63 with util.import_state(meta_path=[importer]): 71 with util.import_state(meta_path=[importer]): 79 with util.import_state(meta_path=[importer]): 92 with util.import_state(meta_path=[importer]): 99 with util.import_state(meta_path=[importer]): 106 with util.import_state(meta_path=[mock]): 124 with util.import_state(meta_path=[mock]): [all …]
|
D | test_packages.py | 13 with util.import_state(meta_path=[mock]): 19 with util.import_state(meta_path=[mock]): 31 with util.import_state(meta_path=[mock]): 48 with util.import_state(meta_path=[mock]): 68 with util.import_state(meta_path=[mock]): 97 with util.import_state(meta_path=[mock]):
|
D | test_meta_path.py | 21 with util.import_state(meta_path=[first, second]): 30 with util.import_state(meta_path=[first, second]): 40 with util.import_state(meta_path=[]): 75 with util.import_state(meta_path=[importer]): 93 with util.import_state(meta_path=[importer]):
|
D | test___package__.py | 39 with util.import_state(meta_path=[importer]): 133 with util.import_state(meta_path=[mock]): 141 with util.import_state(meta_path=[mock]): 149 with util.import_state(meta_path=[mock]):
|
D | test___loader__.py | 25 with util.uncache('blah'), util.import_state(meta_path=[loader]): 55 with util.uncache('blah'), util.import_state(meta_path=[loader]): 64 with util.uncache('blah'), util.import_state(meta_path=[loader]):
|
D | test_caching.py | 67 with util.import_state(meta_path=[mock]): 75 with util.import_state(meta_path=[importer]): 85 with util.import_state(meta_path=[importer]):
|
D | test_api.py | 67 with util.import_state(meta_path=[self.bad_finder_loader]): 78 with util.import_state(meta_path=[self.bad_finder_loader]): 90 with util.import_state(meta_path=[self.bad_finder_loader]):
|
D | test_relative_imports.py | 68 with util.import_state(meta_path=[importer]):
|
/external/python/cpython2/Lib/test/ |
D | test_importlib.py | 35 def import_state(**kwargs): function 124 with import_state(meta_path=[mock]): 134 with import_state(meta_path=[mock]): 141 with import_state(meta_path=[mock]): 149 with import_state(meta_path=[mock]): 160 with import_state(meta_path=[mock]):
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_api.py | 22 with test_util.import_state(meta_path=[mock]): 32 with test_util.import_state(meta_path=[mock]): 44 with test_util.import_state(meta_path=[mock]): 52 with test_util.import_state(meta_path=[mock]): 65 with test_util.import_state(meta_path=[mock]): 90 with test_util.import_state(meta_path=[mock]): 149 with test_util.import_state(meta_path=[self.FakeMetaFinder]): 159 with test_util.import_state(meta_path=[self.FakeMetaFinder]): 216 with test_util.import_state(meta_path=[mock]):
|
D | test_lazy.py | 83 with test_util.import_state(meta_path=[importer]):
|
D | util.py | 183 def import_state(**kwargs): function 391 state_manager = import_state(path=[temp_dir])
|
D | test_namespace_pkgs.py | 49 import_context = util.import_state(**kwargs)
|
D | test_util.py | 466 with util.import_state(meta_path=[self.FakeMetaFinder]):
|
/external/python/cpython3/Lib/test/ |
D | test_compileall.py | 147 with test.test_importlib.util.import_state(path=[self.directory]): 150 with test.test_importlib.util.import_state(path=[self.directory]):
|