Home
last modified time | relevance | path

Searched refs:import_state (Results 1 – 15 of 15) sorted by relevance

/third_party/python/Lib/test/test_importlib/import_/
Dtest_fromlist.py21 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 …]
Dtest_path.py25 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=[],
91 with util.import_state(path=[path], path_hooks=[hook]):
109 with util.import_state(meta_path=sys.meta_path[:],
126 with util.import_state(path_importer_cache={path: failing_finder}):
133 with util.import_state(path_importer_cache={path: success_finder}):
[all …]
Dtest_packages.py14 with util.import_state(meta_path=[mock]):
20 with util.import_state(meta_path=[mock]):
32 with util.import_state(meta_path=[mock]):
49 with util.import_state(meta_path=[mock]):
69 with util.import_state(meta_path=[mock]):
98 with util.import_state(meta_path=[mock]):
Dtest_meta_path.py21 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]):
Dtest___package__.py39 with util.import_state(meta_path=[importer]):
143 with util.import_state(meta_path=[mock]):
151 with util.import_state(meta_path=[mock]):
159 with util.import_state(meta_path=[mock]):
Dtest___loader__.py26 with util.uncache('blah'), util.import_state(meta_path=[loader]):
58 with util.uncache('blah'), util.import_state(meta_path=[loader]):
69 with util.uncache('blah'), util.import_state(meta_path=[loader]):
Dtest_caching.py70 with util.import_state(meta_path=[mock]):
80 with util.import_state(meta_path=[importer]):
92 with util.import_state(meta_path=[importer]):
Dtest_api.py68 with util.import_state(meta_path=[self.bad_finder_loader]):
79 with util.import_state(meta_path=[self.bad_finder_loader]):
91 with util.import_state(meta_path=[self.bad_finder_loader]):
Dtest_relative_imports.py68 with util.import_state(meta_path=[importer]):
/third_party/python/Lib/test/test_importlib/
Dtest_api.py24 with test_util.import_state(meta_path=[mock]):
34 with test_util.import_state(meta_path=[mock]):
46 with test_util.import_state(meta_path=[mock]):
54 with test_util.import_state(meta_path=[mock]):
67 with test_util.import_state(meta_path=[mock]):
92 with test_util.import_state(meta_path=[mock]):
151 with test_util.import_state(meta_path=[self.FakeMetaFinder]):
162 with test_util.import_state(meta_path=[self.FakeMetaFinder]):
220 with test_util.import_state(meta_path=[mock]):
Dtest_lazy.py83 with test_util.import_state(meta_path=[importer]):
Dutil.py185 def import_state(**kwargs): function
393 state_manager = import_state(path=[temp_dir])
Dtest_namespace_pkgs.py50 import_context = util.import_state(**kwargs)
Dtest_util.py466 with util.import_state(meta_path=[self.FakeMetaFinder]):
/third_party/python/Lib/test/
Dtest_compileall.py173 with test.test_importlib.util.import_state(path=[self.directory]):
176 with test.test_importlib.util.import_state(path=[self.directory]):