Searched refs:temp_module (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Lib/ |
D | runpy.py | 79 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/ |
D | runpy.py | 95 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/ |
D | test_windows.py | 11 from .util import temp_module 45 with temp_module(name, "a = 1") as location:
|
D | test_util.py | 477 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:
|
D | util.py | 159 def temp_module(name, content='', *, pkg=False): function
|
D | test_api.py | 358 with test_util.temp_module(name, pkg=True) as pkg_dir:
|