Home
last modified time | relevance | path

Searched refs:temp_module (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Lib/
Drunpy.py79 with _TempModule(mod_name) as temp_module, _ModifiedArgv0(mod_fname):
80 mod_globals = temp_module.module.__dict__
272 with _TempModule(run_name) as temp_module, \
274 mod_globals = temp_module.module.__dict__
/external/python/cpython3/Lib/
Drunpy.py93 with _TempModule(mod_name) as temp_module, _ModifiedArgv0(fname):
94 mod_globals = temp_module.module.__dict__
276 with _TempModule(run_name) as temp_module, \
278 mod_globals = temp_module.module.__dict__
/external/python/cpython3/Lib/test/test_importlib/
Dtest_windows.py11 from .util import temp_module
45 with temp_module(name, "a = 1") as location:
Dtest_util.py476 with util.temp_module(name, pkg=True) as pkg_dir:
489 with util.temp_module(name, pkg=True) as pkg_dir:
503 with util.temp_module(name, pkg=True) as pkg_dir:
517 with util.temp_module(name, pkg=True) as pkg_dir:
Dutil.py148 def temp_module(name, content='', *, pkg=False): function
Dtest_api.py358 with test_util.temp_module(name, pkg=True) as pkg_dir: