Home
last modified time | relevance | path

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

/third_party/python/Lib/test/test_importlib/source/
Dtest_file_loader.py378 def import_(self, file, module_name): member in BadBytecodeTest
478 self.import_(file_path, '_temp')
487 self.import_(file_path, '_temp')
498 self.import_(file_path, '_temp')
509 def import_(self, file, module_name): member in BadBytecodeTestPEP451
518 def import_(self, file, module_name): member in BadBytecodeTestPEP302
537 self.import_(mapping[name], name)
545 self.import_(mapping[name], name)
556 self.import_(mapping[name], name)
567 self.import_(mapping[name], name)
[all …]
Dtest_finder.py48 def import_(self, root, module): member in FinderTests
77 loader = self.import_(mapping['.root'], test)
104 loader = self.import_(pkg_dir, 'pkg.sub')
112 loader = self.import_(pkg_dir, 'pkg.sub')
123 nothing = self.import_(mapping['.root'], 'sdfsadsadf')
/third_party/boost/libs/python/test/
Dfabscript123 import_ = binary('import_', ['import_.cpp', src.bpl], features=features|python_libs)
130 tests.append(test('import', [import_, 'import_.py'],
Dimport_.cpp34 bpl::object import_ = bpl::import("import_"); in import_test() local
35 int value = bpl::extract<int>(import_.attr("value")) BOOST_EXTRACT_WORKAROUND; in import_test()
DJamfile75 # run import_.cpp ../build//boost_python /python//python
77 # : import_.py # input files
201 [ run import_.cpp /boost/python//boost_python $(PY) : : import_.py ]
/third_party/python/Tools/importbench/
Dimportbench.py165 def main(import_, options): argument
171 __builtins__.__import__ = import_
240 import_ = __import__ variable
242 import_ = importlib.__import__ variable
244 main(import_, options)
/third_party/python/Lib/lib2to3/tests/
Dtest_util.py125 for package, name, import_ in failing_tests:
126 n = self.does_tree_import(package, name, import_ + "\n" + string)
128 n = self.does_tree_import(package, name, string + "\n" + import_)
138 for package, name, import_ in passing_tests:
139 n = self.does_tree_import(package, name, import_ + "\n" + string)
141 n = self.does_tree_import(package, name, string + "\n" + import_)
/third_party/python/Lib/importlib/
D_bootstrap.py987 def _find_and_load_unlocked(name, import_): argument
992 _call_with_frames_removed(import_, parent)
1022 def _find_and_load(name, import_): argument
1027 return _find_and_load_unlocked(name, import_)
1053 def _handle_fromlist(module, fromlist, import_, *, recursive=False): argument
1073 _handle_fromlist(module, module.__all__, import_,
1078 _call_with_frames_removed(import_, from_name)
/third_party/python/Lib/lib2to3/
Dfixer_util.py349 import_ = Node(syms.import_name, [
354 import_ = FromImport(package, [Leaf(token.NAME, name, prefix=" ")])
356 children = [import_, Newline()]
/third_party/python/Lib/test/libregrtest/
Dsave_env.py152 def restore___import__(self, import_): argument
153 builtins.__import__ = import_
/third_party/jinja2/
Dcompiler.py742 for import_ in node.find_all(nodes.ImportedName):
743 if import_.importname not in self.import_aliases:
744 imp = import_.importname
/third_party/skia/third_party/externals/jinja2/
Dcompiler.py742 for import_ in node.find_all(nodes.ImportedName):
743 if import_.importname not in self.import_aliases:
744 imp = import_.importname
/third_party/node/tools/inspector_protocol/jinja2/
Dcompiler.py722 for import_ in node.find_all(nodes.ImportedName):
723 if import_.importname not in self.import_aliases:
724 imp = import_.importname
/third_party/boost/tools/build/src/build/
Dproject.py1224 def import_(self, name, names_to_import=None, local_names=None): member in ProjectRules
/third_party/python/
DMakefile.pre.in1492 test/test_importlib/import_ \