Searched refs:temp_dir (Results 1 - 22 of 22) sorted by relevance

/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_cmd_line_script.py8 temp_dir, make_script, compile_script,
101 with temp_dir() as script_dir:
106 with temp_dir() as script_dir:
113 with temp_dir() as script_dir:
118 with temp_dir() as script_dir:
125 with temp_dir() as script_dir:
130 with temp_dir() as script_dir:
136 with temp_dir() as script_dir:
143 with temp_dir() as script_dir:
150 with temp_dir() a
[all...]
H A Dtest_runpy.py9 from test.script_helper import (temp_dir, make_script, compile_script, namespace
328 with temp_dir() as script_dir:
335 with temp_dir() as script_dir:
344 with temp_dir() as script_dir:
351 with temp_dir() as script_dir:
360 with temp_dir() as script_dir:
367 with temp_dir() as script_dir:
374 with temp_dir() as script_dir:
382 with temp_dir() as script_dir:
390 with temp_dir() a
[all...]
H A Dtest_zipimport_support.py18 temp_dir, make_script, make_zip_script)
78 with temp_dir() as d:
115 with temp_dir() as d:
204 with temp_dir() as d:
231 with temp_dir() as d:
H A Dtest_tools.py16 from test.script_helper import assert_python_ok, temp_dir namespace
61 with temp_dir() as directory:
H A Dscript_helper.py98 def temp_dir(): function
H A Dtest_argparse.py44 self.temp_dir = tempfile.mkdtemp()
46 os.chdir(self.temp_dir)
50 shutil.rmtree(self.temp_dir, True)
53 file_path = os.path.join(self.temp_dir, filename)
1452 file = open(os.path.join(self.temp_dir, file_name), 'w')
1474 file = open(os.path.join(self.temp_dir, 'good'), 'w')
1493 file = open(os.path.join(self.temp_dir, file_name), 'w')
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_cmd_line_script.py8 temp_dir, make_script, compile_script,
101 with temp_dir() as script_dir:
106 with temp_dir() as script_dir:
113 with temp_dir() as script_dir:
118 with temp_dir() as script_dir:
125 with temp_dir() as script_dir:
130 with temp_dir() as script_dir:
136 with temp_dir() as script_dir:
143 with temp_dir() as script_dir:
150 with temp_dir() a
[all...]
H A Dtest_runpy.py9 from test.script_helper import (temp_dir, make_script, compile_script, namespace
328 with temp_dir() as script_dir:
335 with temp_dir() as script_dir:
344 with temp_dir() as script_dir:
351 with temp_dir() as script_dir:
360 with temp_dir() as script_dir:
367 with temp_dir() as script_dir:
374 with temp_dir() as script_dir:
382 with temp_dir() as script_dir:
390 with temp_dir() a
[all...]
H A Dtest_zipimport_support.py18 temp_dir, make_script, make_zip_script)
78 with temp_dir() as d:
115 with temp_dir() as d:
204 with temp_dir() as d:
231 with temp_dir() as d:
H A Dtest_tools.py16 from test.script_helper import assert_python_ok, temp_dir namespace
61 with temp_dir() as directory:
H A Dscript_helper.py98 def temp_dir(): function
H A Dtest_argparse.py44 self.temp_dir = tempfile.mkdtemp()
46 os.chdir(self.temp_dir)
50 shutil.rmtree(self.temp_dir, True)
53 file_path = os.path.join(self.temp_dir, filename)
1452 file = open(os.path.join(self.temp_dir, file_name), 'w')
1474 file = open(os.path.join(self.temp_dir, 'good'), 'w')
1493 file = open(os.path.join(self.temp_dir, file_name), 'w')
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/
H A Dtest_main.py32 self.temp_dir = None # tearDown() will rmtree this directory if set.
37 if self.temp_dir:
38 shutil.rmtree(self.temp_dir)
68 self.temp_dir = tempfile.mkdtemp() # tearDown() cleans this up.
69 self.py2_src_dir = os.path.join(self.temp_dir, "python2_project")
70 self.py3_dest_dir = os.path.join(self.temp_dir, "python3_project")
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/
H A Dtest_main.py32 self.temp_dir = None # tearDown() will rmtree this directory if set.
37 if self.temp_dir:
38 shutil.rmtree(self.temp_dir)
68 self.temp_dir = tempfile.mkdtemp() # tearDown() cleans this up.
69 self.py2_src_dir = os.path.join(self.temp_dir, "python2_project")
70 self.py3_dest_dir = os.path.join(self.temp_dir, "python3_project")
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/
H A Dcygwinccompiler.py227 temp_dir = os.path.dirname(objects[0])
233 def_file = os.path.join(temp_dir, dll_name + ".def")
234 lib_file = os.path.join(temp_dir, 'lib' + dll_name + ".a")
H A Demxccompiler.py126 temp_dir = os.path.dirname(objects[0])
132 def_file = os.path.join(temp_dir, dll_name + ".def")
H A Dbcppcompiler.py223 temp_dir = os.path.dirname(objects[0]) # preserve tree structure
224 def_file = os.path.join (temp_dir, '%s.def' % modname)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/
H A Dcygwinccompiler.py227 temp_dir = os.path.dirname(objects[0])
233 def_file = os.path.join(temp_dir, dll_name + ".def")
234 lib_file = os.path.join(temp_dir, 'lib' + dll_name + ".a")
H A Demxccompiler.py126 temp_dir = os.path.dirname(objects[0])
132 def_file = os.path.join(temp_dir, dll_name + ".def")
H A Dbcppcompiler.py223 temp_dir = os.path.dirname(objects[0]) # preserve tree structure
224 def_file = os.path.join (temp_dir, '%s.def' % modname)
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/
H A Dtest_dist.py364 temp_dir = self.mkdtemp()
365 user_filename = os.path.join(temp_dir, user_filename)
377 os.environ['HOME'] = temp_dir
384 os.environ['HOME'] = temp_dir
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/
H A Dtest_dist.py364 temp_dir = self.mkdtemp()
365 user_filename = os.path.join(temp_dir, user_filename)
377 os.environ['HOME'] = temp_dir
384 os.environ['HOME'] = temp_dir

Completed in 337 milliseconds