Home
last modified time | relevance | path

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

/external/python/cpython3/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')
/external/python/cpython3/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)
/external/python/cpython2/Lib/lib2to3/tests/
Dtest_util.py128 for package, name, import_ in failing_tests:
129 n = self.does_tree_import(package, name, import_ + "\n" + string)
131 n = self.does_tree_import(package, name, string + "\n" + import_)
141 for package, name, import_ in passing_tests:
142 n = self.does_tree_import(package, name, import_ + "\n" + string)
144 n = self.does_tree_import(package, name, string + "\n" + import_)
/external/python/cpython3/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_)
/external/python/cpython3/Lib/importlib/
D_bootstrap.py948 def _find_and_load_unlocked(name, import_): argument
953 _call_with_frames_removed(import_, parent)
978 def _find_and_load(name, import_): argument
983 return _find_and_load_unlocked(name, import_)
1009 def _handle_fromlist(module, fromlist, import_, *, recursive=False): argument
1030 _handle_fromlist(module, module.__all__, import_,
1035 _call_with_frames_removed(import_, from_name)
/external/python/apitools/apitools/gen/
Dextended_descriptor.py402 for import_ in sorted(other_imports):
403 self.__printer(import_)
408 for import_ in sorted(google_imports):
409 self.__printer(import_)
/external/python/cpython3/Lib/lib2to3/
Dfixer_util.py349 import_ = Node(syms.import_name, [
354 import_ = FromImport(package, [Leaf(token.NAME, name, prefix=" ")])
356 children = [import_, Newline()]
/external/python/cpython2/Lib/lib2to3/
Dfixer_util.py328 import_ = Node(syms.import_name, [
333 import_ = FromImport(package, [Leaf(token.NAME, name, prefix=u" ")])
335 children = [import_, Newline()]
/external/python/cpython3/Lib/test/libregrtest/
Dsave_env.py122 def restore___import__(self, import_): argument
123 builtins.__import__ = import_
/external/grpc-grpc-java/compiler/src/test/golden/
DTestService.java.txt319 …ublic io.grpc.stub.StreamObserver<io.grpc.testing.compiler.Test.StreamingInputCallRequest> import_(
462 …ublic io.grpc.stub.StreamObserver<io.grpc.testing.compiler.Test.StreamingInputCallRequest> import_(
600 return (io.grpc.stub.StreamObserver<Req>) serviceImpl.import_(
/external/grpc-grpc-java/compiler/src/testLite/golden/
DTestService.java.txt313 …ublic io.grpc.stub.StreamObserver<io.grpc.testing.compiler.Test.StreamingInputCallRequest> import_(
456 …ublic io.grpc.stub.StreamObserver<io.grpc.testing.compiler.Test.StreamingInputCallRequest> import_(
594 return (io.grpc.stub.StreamObserver<Req>) serviceImpl.import_(
/external/grpc-grpc-java/compiler/src/testNano/golden/
DTestService.java.txt354 … io.grpc.stub.StreamObserver<io.grpc.testing.compiler.nano.Test.StreamingInputCallRequest> import_(
497 … io.grpc.stub.StreamObserver<io.grpc.testing.compiler.nano.Test.StreamingInputCallRequest> import_(
635 return (io.grpc.stub.StreamObserver<Req>) serviceImpl.import_(
/external/libchrome/third_party/jinja2/
Dcompiler.py722 for import_ in node.find_all(nodes.ImportedName):
723 if import_.importname not in self.import_aliases:
724 imp = import_.importname
/external/python/cpython3/
DMakefile.pre.in1290 test/test_importlib/import_ \