Searched refs:meta_path (Results 1 – 25 of 68) sorted by relevance
123
/external/python/cpython3/Lib/test/test_importlib/import_/ |
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]):
|
/external/python/cpython2/Lib/test/ |
D | test_importlib.py | 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]):
|
D | test_importhooks.py | 143 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)
|
D | test_pkgutil.py | 114 sys.meta_path.insert(0, self.MyTestImporter()) 117 del sys.meta_path[0]
|
/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]): 397 sys.meta_path.insert(0, meta_ins) [all …]
|
D | test_threaded_import.py | 146 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)
|
D | fixtures.py | 38 sys.meta_path.append(finder) 42 sys.meta_path.remove(finder)
|
/external/python/cpython3/Lib/test/ |
D | test_doctest.py | 2684 self.meta_path = sys.meta_path[:] 2690 sys.meta_path.append(self.importer) 2694 sys.meta_path[:] = self.meta_path
|
D | test_zipimport_support.py | 68 self.meta_path = sys.meta_path[:] 74 sys.meta_path[:] = self.meta_path
|
/external/python/setuptools/pkg_resources/extern/ |
D | __init__.py | 68 if self not in sys.meta_path: 69 sys.meta_path.append(self)
|
/external/python/setuptools/setuptools/extern/ |
D | __init__.py | 68 if self not in sys.meta_path: 69 sys.meta_path.append(self)
|
/external/python/cpython3/Tools/importbench/ |
D | importbench.py | 69 sys.meta_path.append(importlib.machinery.PathFinder) 105 sys.meta_path.append(importlib.machinery.PathFinder) 139 sys.meta_path.append(importlib.machinery.PathFinder)
|
/external/python/cpython3/Lib/importlib/ |
D | _bootstrap.py | 903 meta_path = sys.meta_path 904 if meta_path is None: 909 if not meta_path: 916 for finder in meta_path: 1180 sys.meta_path.append(BuiltinImporter) 1181 sys.meta_path.append(FrozenImporter)
|
/external/autotest/client/cros/crash/ |
D | crash_test.py | 461 meta_path = meta_match.group(1) 464 meta_path = None 500 'meta_path': meta_path,
|
D | user_crash_test.py | 358 def _check_generated_report_sending(self, meta_path, payload_path, argument 374 if result['meta_path'] != meta_path: 376 result['meta_path'], meta_path))
|
/external/python/jinja/tests/ |
D | test_loader.py | 376 before = sys.meta_path[:] 379 sys.meta_path.insert(0, ImportHook()) 383 sys.meta_path[:] = before
|
/external/autotest/server/ |
D | site_crashcollect.py | 394 meta_path = os.path.splitext(minidump_path)[0] + '.meta' 395 with open(meta_path, 'r') as f:
|
/external/python/six/ |
D | six.py | 879 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/llvm-project/lldb/third_party/Python/module/six/ |
D | six.py | 875 if sys.meta_path: 876 for i, importer in enumerate(sys.meta_path): 883 del sys.meta_path[i] 887 sys.meta_path.append(_importer)
|
123