Searched refs:change_cwd (Results 1 - 21 of 21) sorted by relevance
/third_party/python/Lib/distutils/tests/ |
H A D | test_spawn.py | 71 with os_helper.change_cwd(tmp_dir): 91 with os_helper.change_cwd(tmp_dir): 105 with os_helper.change_cwd(tmp_dir):
|
H A D | test_archive_util.py | 17 from test.support.os_helper import change_cwd namespace 114 with change_cwd(tmpdir): 243 with change_cwd(tmpdir): 268 with change_cwd(tmpdir):
|
H A D | test_build_ext.py | 44 self.enterContext(os_helper.change_cwd(self.tmp_dir))
|
/third_party/python/Lib/test/ |
H A D | test_cmd_line_script.py | 387 with os_helper.change_cwd(path=script_dir): 404 with os_helper.change_cwd(path=script_dir): 420 with os_helper.change_cwd(path=script_dir): 441 with os_helper.change_cwd(path=script_dir): 449 os_helper.change_cwd(path=script_dir): 493 os_helper.change_cwd(path=script_dir): 507 os_helper.change_cwd(path=script_dir):
|
H A D | test_profile.py | 9 from test.support.os_helper import TESTFN, unlink, temp_dir, change_cwd namespace 115 with temp_dir() as tmpdir, change_cwd(tmpdir):
|
H A D | test_unicode_file.py | 9 from test.support.os_helper import (rmtree, change_cwd, TESTFN_UNICODE, namespace 91 with change_cwd(chdir_name):
|
H A D | test_startfile.py | 31 with os_helper.change_cwd(path.dirname(sys.executable)):
|
H A D | test_glob.py | 8 can_symlink, create_empty_file, change_cwd) 67 with change_cwd(self.tempdir): 310 with change_cwd(self.tempdir): 360 with change_cwd(tempdir):
|
H A D | test_posixpath.py | 453 with os_helper.change_cwd(dirname(ABSTFN)): 494 with os_helper.change_cwd(dirname(ABSTFN)): 530 with os_helper.change_cwd(ABSTFN): 549 with os_helper.change_cwd(ABSTFN + "/k"): 575 with os_helper.change_cwd(dirname(ABSTFN)): 594 with os_helper.change_cwd(dirname(ABSTFN)):
|
H A D | test_support.py | 229 # Tests for change_cwd() 235 with os_helper.change_cwd(temp_path) as new_cwd: 246 with os_helper.change_cwd(path) as new_cwd: 263 with os_helper.change_cwd(bad_dir, quiet=True) as new_cwd: 275 # Tests for change_cwd() 281 with os_helper.change_cwd(path=path, quiet=True):
|
H A D | test_ntpath.py | 370 with os_helper.change_cwd(ABSTFN): 571 with os_helper.change_cwd(test_dir_long): 573 with os_helper.change_cwd(test_dir_long.lower()): 575 with os_helper.change_cwd(test_dir_short): 850 with os_helper.change_cwd(test_cwd):
|
H A D | test_shutil.py | 1354 with os_helper.change_cwd(work_dir), no_chdir: 1368 with os_helper.change_cwd(work_dir), no_chdir: 1446 with os_helper.change_cwd(work_dir), no_chdir: 1459 with os_helper.change_cwd(work_dir), no_chdir: 1513 with os_helper.change_cwd(root_dir): 1563 with os_helper.change_cwd(root_dir), no_chdir: 1604 with os_helper.change_cwd(root_dir), no_chdir: 1612 with os_helper.change_cwd(root_dir), no_chdir: 1832 with os_helper.change_cwd(path=base_dir): 1836 with os_helper.change_cwd(pat [all...] |
H A D | test_sysconfig.py | 13 change_cwd) 470 with change_cwd(os.pardir):
|
H A D | test_py_compile.py | 106 with os_helper.change_cwd(self.directory):
|
H A D | test_site.py | 13 from test.support.os_helper import TESTFN, EnvironmentVarGuard, change_cwd namespace
|
H A D | test_cmd_line.py | 187 with os_helper.change_cwd(projectlibpath):
|
H A D | test_tarfile.py | 1392 with os_helper.change_cwd(TEMPDIR): 1521 with os_helper.change_cwd(TEMPDIR):
|
H A D | test_subprocess.py | 409 with os_helper.change_cwd(cwd):
|
H A D | test_os.py | 133 with os_helper.change_cwd(tmpdir) as path:
|
/third_party/python/Lib/test/support/ |
H A D | os_helper.py | 487 def change_cwd(path, quiet=False): function 530 with change_cwd(temp_path, quiet=quiet) as cwd_dir:
|
/third_party/python/Lib/test/test_peg_generator/ |
H A D | test_c_parser.py | 99 self.enterContext(os_helper.change_cwd(self.tmp_path))
|
Completed in 31 milliseconds