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.py95 with _TempModule(mod_name) as temp_module, _ModifiedArgv0(fname):
96 mod_globals = temp_module.module.__dict__
282 with _TempModule(run_name) as temp_module, \
284 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.py477 with util.temp_module(name, pkg=True) as pkg_dir:
490 with util.temp_module(name, pkg=True) as pkg_dir:
504 with util.temp_module(name, pkg=True) as pkg_dir:
518 with util.temp_module(name, pkg=True) as pkg_dir:
Dutil.py159 def temp_module(name, content='', *, pkg=False): function
Dtest_api.py358 with test_util.temp_module(name, pkg=True) as pkg_dir: