Home
last modified time | relevance | path

Searched refs:globals_ (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython3/Lib/test/test_importlib/import_/
Dtest_relative_imports.py59 def relative_import_test(self, create, globals_, callback): argument
71 for global_ in globals_:
79 globals_ = {'__package__': 'pkg'}, {'__name__': 'pkg.mod1'}
86 self.relative_import_test(create, globals_, callback)
91 globals_ = {'__package__': 'pkg'}, {'__name__': 'pkg.mod1'}
98 self.relative_import_test(create, globals_, callback)
103 globals_ = ({'__package__': 'pkg'},
112 self.relative_import_test(create, globals_, callback)
117 globals_ = {'__package__': 'pkg'}, {'__name__': 'pkg.module'}
122 self.relative_import_test(create, globals_, callback)
[all …]
Dtest___package__.py37 def import_module(self, globals_): argument
42 globals=globals_,
/external/autotest/client/common_lib/
Dseven_unittest.py45 globals_={},
61 globals_={},
80 globals_={},
Dseven.py39 def exec_file(filename, globals_, locals_): argument
64 return six.exec_(code_obj, globals_, locals_)
/external/tensorflow/tensorflow/python/autograph/pyct/
Dtranspiler.py191 globals_, argument
211 globals=globals_,
495 globals_=fn.__globals__,
/external/python/cpython3/Lib/test/
Dtest_bdb.py110 globals_ = globals()
113 globals_ = module.__dict__
114 func = eval(funcname, globals_)
Dtest_builtin.py441 globals_ = {'asyncio': asyncio, 'a': 0, 'arange': arange}
442 async_f = FunctionType(co, globals_)
444 self.assertEqual(globals_['a'], 1)
447 globals_ = {'asyncio': asyncio, 'a': 0, 'arange': arange}
448 asyncio.run(eval(co, globals_))
449 self.assertEqual(globals_['a'], 1)
/external/python/cpython3/Lib/importlib/
D_bootstrap.py1111 globals_ = globals if globals is not None else {}
1112 package = _calc___package__(globals_)
/external/autotest/server/
Dautoserv148 globals_=namespace,
Dautoserv.py148 globals_=namespace,
Dserver_job.py1446 seven.exec_file(code_file, locals_=namespace, globals_=namespace)