Home
last modified time | relevance | path

Searched refs:mod_fname (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_runpy.py158 mod_fname = "Some other nonsense"
162 origin=mod_fname,
167 "__file__": mod_fname,
171 "run_argv0": mod_fname,
240 mod_fname = os.path.join(sub_dir, test_fname)
241 mod_file = open(mod_fname, "w")
244 if verbose > 1: print(" Created:", mod_fname)
247 mod_fname)
248 return pkg_dir, mod_fname, mod_name, mod_spec
289 pkg_dir, mod_fname, mod_name, mod_spec = (
[all …]
/external/python/cpython2/Lib/test/
Dtest_runpy.py128 mod_fname = os.path.join(sub_dir, test_fname)
129 mod_file = open(mod_fname, "w")
132 if verbose: print " Created:", mod_fname
134 return pkg_dir, mod_fname, mod_name
162 pkg_dir, mod_fname, mod_name = (
172 os.remove(mod_fname)
184 pkg_dir, mod_fname, mod_name = (
195 os.remove(mod_fname)
237 pkg_dir, mod_fname, mod_name = (
250 os.remove(mod_fname)
/external/python/cpython2/Lib/
Drunpy.py63 mod_name=None, mod_fname=None, argument
69 __file__ = mod_fname,
76 mod_name=None, mod_fname=None, argument
79 with _TempModule(mod_name) as temp_module, _ModifiedArgv0(mod_fname):
82 mod_name, mod_fname, mod_loader, pkg_name)