Home
last modified time | relevance | path

Searched refs:meta_path (Results 1 – 25 of 58) sorted by relevance

123

/external/python/cpython3/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_packages.py13 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]):
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]):
133 with util.import_state(meta_path=[mock]):
141 with util.import_state(meta_path=[mock]):
149 with util.import_state(meta_path=[mock]):
Dtest___loader__.py25 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]):
Dtest_caching.py67 with util.import_state(meta_path=[mock]):
75 with util.import_state(meta_path=[importer]):
85 with util.import_state(meta_path=[importer]):
Dtest_api.py67 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]):
/external/python/cpython2/Lib/test/
Dtest_importlib.py124 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]):
Dtest_importhooks.py143 self.meta_path = sys.meta_path[:]
150 sys.meta_path[:] = self.meta_path
220 sys.meta_path.append(i)
231 sys.meta_path.append(ImportBlocker(mname))
236 sys.meta_path.append(i)
Dtest_pkgutil.py114 sys.meta_path.insert(0, self.MyTestImporter())
117 del sys.meta_path[0]
/external/python/cpython3/Lib/test/test_importlib/
Dtest_api.py22 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]):
397 sys.meta_path.insert(0, meta_ins)
[all …]
/external/autotest/client/site_tests/logging_CrashSender/
Dlogging_CrashSender.py80 meta_path = self.write_fake_meta(
83 self._check_simple_minidump_send(meta_path, log_path)
96 meta_path = self.write_fake_meta(
99 self._shift_file_mtime(meta_path, _25_HOURS_AGO)
100 self._check_simple_minidump_send(meta_path)
/external/python/cpython3/Lib/test/
Dtest_threaded_import.py146 sys.meta_path.insert(0, finder)
152 sys.meta_path.remove(finder)
166 sys.meta_path.append(flushing_finder)
174 sys.meta_path.remove(flushing_finder)
Dtest_zipimport_support.py68 self.meta_path = sys.meta_path[:]
74 sys.meta_path[:] = self.meta_path
/external/python/setuptools/pkg_resources/extern/
D__init__.py68 if self not in sys.meta_path:
69 sys.meta_path.append(self)
/external/python/setuptools/setuptools/extern/
D__init__.py68 if self not in sys.meta_path:
69 sys.meta_path.append(self)
/external/python/cpython3/Lib/importlib/
D_bootstrap.py884 meta_path = sys.meta_path
885 if meta_path is None:
890 if not meta_path:
897 for finder in meta_path:
1155 sys.meta_path.append(BuiltinImporter)
1156 sys.meta_path.append(FrozenImporter)
/external/python/cpython3/Tools/importbench/
Dimportbench.py69 sys.meta_path.append(importlib.machinery.PathFinder)
105 sys.meta_path.append(importlib.machinery.PathFinder)
139 sys.meta_path.append(importlib.machinery.PathFinder)
/external/autotest/client/cros/crash/
Duser_crash_test.py346 def _check_generated_report_sending(self, meta_path, payload_path, argument
362 if result['meta_path'] != meta_path:
364 result['meta_path'], meta_path))
Dcrash_test.py471 meta_path = meta_match.group(1)
474 meta_path = None
516 'meta_path': meta_path,
/external/scapy/scapy/modules/
Dsix.py879 if sys.meta_path:
880 for i, importer in enumerate(sys.meta_path):
887 del sys.meta_path[i]
891 sys.meta_path.append(_importer)
/external/python/setuptools/pkg_resources/_vendor/
Dsix.py856 if sys.meta_path:
857 for i, importer in enumerate(sys.meta_path):
864 del sys.meta_path[i]
868 sys.meta_path.append(_importer)
/external/python/setuptools/setuptools/_vendor/
Dsix.py856 if sys.meta_path:
857 for i, importer in enumerate(sys.meta_path):
864 del sys.meta_path[i]
868 sys.meta_path.append(_importer)
/external/python/six/
Dsix.py879 if sys.meta_path:
880 for i, importer in enumerate(sys.meta_path):
887 del sys.meta_path[i]
891 sys.meta_path.append(_importer)
/external/autotest/server/
Dsite_crashcollect.py394 meta_path = os.path.splitext(minidump_path)[0] + '.meta'
395 with open(meta_path, 'r') as f:

123