Searched refs:change_cwd (Results 1 – 25 of 32) sorted by relevance
12
/external/python/cpython3/Lib/test/test_peg_generator/ |
D | test_c_parser.py | 77 change_cwd = support.change_cwd(self.tmp_path) 78 change_cwd.__enter__() 79 self.addCleanup(change_cwd.__exit__, None, None, None)
|
/external/python/cpython3/Lib/distutils/tests/ |
D | test_spawn.py | 69 with test_support.change_cwd(tmp_dir): 89 with test_support.change_cwd(tmp_dir): 103 with test_support.change_cwd(tmp_dir):
|
D | test_archive_util.py | 16 from test.support import check_warnings, run_unittest, patch, change_cwd 112 with change_cwd(tmpdir): 241 with change_cwd(tmpdir): 266 with change_cwd(tmpdir):
|
D | test_build_ext.py | 41 change_cwd = support.change_cwd(self.tmp_dir) 42 change_cwd.__enter__() 43 self.addCleanup(change_cwd.__exit__, None, None, None)
|
/external/python/cpython3/Lib/test/ |
D | test_cmd_line_script.py | 383 with support.change_cwd(path=script_dir): 400 with support.change_cwd(path=script_dir): 416 with support.change_cwd(path=script_dir): 437 with support.change_cwd(path=script_dir): 445 support.change_cwd(path=script_dir): 490 support.change_cwd(path=script_dir): 504 support.change_cwd(path=script_dir):
|
D | test_profile.py | 9 from test.support import TESTFN, run_unittest, unlink, temp_dir, change_cwd 115 with temp_dir() as tmpdir, change_cwd(tmpdir):
|
D | test_startfile.py | 30 with support.change_cwd(path.dirname(sys.executable)):
|
D | test_unicode_file.py | 8 from test.support import (run_unittest, rmtree, change_cwd, 89 with change_cwd(chdir_name):
|
D | test_support.py | 198 with support.change_cwd(temp_path) as new_cwd: 209 with support.change_cwd(path) as new_cwd: 226 with support.change_cwd(bad_dir, quiet=True) as new_cwd: 244 with support.change_cwd(path=path, quiet=True):
|
D | test_ntpath.py | 288 with support.change_cwd(ABSTFN): 444 with support.change_cwd(test_dir_long): 446 with support.change_cwd(test_dir_long.lower()): 448 with support.change_cwd(test_dir_short): 674 with support.change_cwd(ntpath.dirname(sys.executable)):
|
D | test_glob.py | 8 can_symlink, create_empty_file, change_cwd) 246 with change_cwd(self.tempdir): 292 with change_cwd(tempdir):
|
D | test_posixpath.py | 395 with support.change_cwd(dirname(ABSTFN)): 433 with support.change_cwd(ABSTFN): 453 with support.change_cwd(ABSTFN + "/k"): 480 with support.change_cwd(dirname(ABSTFN)): 500 with support.change_cwd(dirname(ABSTFN)):
|
D | test_shutil.py | 1261 with support.change_cwd(work_dir): 1275 with support.change_cwd(work_dir): 1350 with support.change_cwd(work_dir): 1363 with support.change_cwd(work_dir): 1415 with support.change_cwd(root_dir): 1465 with support.change_cwd(root_dir): 1499 with support.change_cwd(root_dir): 1507 with support.change_cwd(root_dir): 1714 with support.change_cwd(path=base_dir): 1718 with support.change_cwd(path=self.dir): [all …]
|
D | test_sysconfig.py | 9 captured_stdout, skip_unless_symlink, change_cwd, 342 with change_cwd(os.pardir):
|
D | test_site.py | 12 change_cwd) 404 with change_cwd(cwd):
|
D | test_py_compile.py | 106 with support.change_cwd(self.directory):
|
/external/python/cpython2/Lib/test/ |
D | test_posixpath.py | 353 with support.change_cwd(dirname(ABSTFN)): 385 with support.change_cwd(ABSTFN): 402 with support.change_cwd(ABSTFN + "/k"): 426 with support.change_cwd(dirname(ABSTFN)): 443 with support.change_cwd(dirname(ABSTFN)):
|
D | test_startfile.py | 31 with test_support.change_cwd(path.dirname(sys.executable)):
|
D | test_test_support.py | 215 with support.change_cwd(temp_path) as new_cwd: 226 with support.change_cwd(path) as new_cwd: 244 with support.change_cwd(bad_dir, quiet=True) as new_cwd: 258 with support.change_cwd(path=path, quiet=True):
|
D | test_unicode_file.py | 8 from test.test_support import run_unittest, change_cwd, TESTFN_UNICODE 121 with change_cwd(chdir_name):
|
D | test_py_compile.py | 38 with support.change_cwd(self.directory):
|
D | test_shutil.py | 387 with support.change_cwd(work_dir): 401 with support.change_cwd(work_dir): 476 with support.change_cwd(work_dir): 490 with support.change_cwd(work_dir): 541 with support.change_cwd(root_dir): 590 with support.change_cwd(root_dir):
|
D | test_cmd_line_script.py | 214 test.test_support.change_cwd(script_dir):
|
/external/python/cpython2/Lib/distutils/tests/ |
D | test_spawn.py | 82 with test_support.change_cwd(tmp_dir):
|
/external/python/cpython2/Lib/test/support/ |
D | __init__.py | 767 def change_cwd(path, quiet=False): function 809 with change_cwd(temp_path, quiet=quiet) as cwd_dir:
|
12