Searched refs:change_cwd (Results 1 – 22 of 22) sorted by relevance
/third_party/python/Lib/test/test_peg_generator/ |
D | test_c_parser.py | 81 change_cwd = os_helper.change_cwd(self.tmp_path) 82 change_cwd.__enter__() 83 self.addCleanup(change_cwd.__exit__, None, None, None)
|
/third_party/python/Lib/distutils/tests/ |
D | test_spawn.py | 69 with os_helper.change_cwd(tmp_dir): 89 with os_helper.change_cwd(tmp_dir): 103 with os_helper.change_cwd(tmp_dir):
|
D | test_archive_util.py | 17 from test.support.os_helper import change_cwd 114 with change_cwd(tmpdir): 243 with change_cwd(tmpdir): 268 with change_cwd(tmpdir):
|
D | test_build_ext.py | 43 change_cwd = os_helper.change_cwd(self.tmp_dir) 44 change_cwd.__enter__() 45 self.addCleanup(change_cwd.__exit__, None, None, None)
|
/third_party/python/Lib/test/ |
D | test_cmd_line_script.py | 385 with os_helper.change_cwd(path=script_dir): 402 with os_helper.change_cwd(path=script_dir): 418 with os_helper.change_cwd(path=script_dir): 439 with os_helper.change_cwd(path=script_dir): 447 os_helper.change_cwd(path=script_dir): 492 os_helper.change_cwd(path=script_dir): 506 os_helper.change_cwd(path=script_dir):
|
D | test_profile.py | 9 from test.support.os_helper import TESTFN, unlink, temp_dir, change_cwd 115 with temp_dir() as tmpdir, change_cwd(tmpdir):
|
D | test_unicode_file.py | 9 from test.support.os_helper import (rmtree, change_cwd, TESTFN_UNICODE, 91 with change_cwd(chdir_name):
|
D | test_startfile.py | 31 with os_helper.change_cwd(path.dirname(sys.executable)):
|
D | test_glob.py | 8 can_symlink, create_empty_file, change_cwd) 64 with change_cwd(self.tempdir): 296 with change_cwd(self.tempdir): 342 with change_cwd(tempdir):
|
D | test_posixpath.py | 413 with os_helper.change_cwd(dirname(ABSTFN)): 455 with os_helper.change_cwd(dirname(ABSTFN)): 493 with os_helper.change_cwd(ABSTFN): 513 with os_helper.change_cwd(ABSTFN + "/k"): 540 with os_helper.change_cwd(dirname(ABSTFN)): 560 with os_helper.change_cwd(dirname(ABSTFN)):
|
D | test_support.py | 232 with os_helper.change_cwd(temp_path) as new_cwd: 243 with os_helper.change_cwd(path) as new_cwd: 260 with os_helper.change_cwd(bad_dir, quiet=True) as new_cwd: 278 with os_helper.change_cwd(path=path, quiet=True):
|
D | test_ntpath.py | 301 with os_helper.change_cwd(ABSTFN): 502 with os_helper.change_cwd(test_dir_long): 504 with os_helper.change_cwd(test_dir_long.lower()): 506 with os_helper.change_cwd(test_dir_short): 745 with os_helper.change_cwd(ntpath.dirname(sys.executable)):
|
D | test_shutil.py | 1319 with os_helper.change_cwd(work_dir): 1333 with os_helper.change_cwd(work_dir): 1408 with os_helper.change_cwd(work_dir): 1421 with os_helper.change_cwd(work_dir): 1473 with os_helper.change_cwd(root_dir): 1523 with os_helper.change_cwd(root_dir): 1557 with os_helper.change_cwd(root_dir): 1565 with os_helper.change_cwd(root_dir): 1772 with os_helper.change_cwd(path=base_dir): 1776 with os_helper.change_cwd(path=self.dir): [all …]
|
D | test_sysconfig.py | 11 change_cwd) 390 with change_cwd(os.pardir):
|
D | test_py_compile.py | 106 with os_helper.change_cwd(self.directory):
|
D | test_site.py | 13 from test.support.os_helper import TESTFN, EnvironmentVarGuard, change_cwd
|
D | test_tarfile.py | 1275 with os_helper.change_cwd(TEMPDIR): 1403 with os_helper.change_cwd(TEMPDIR):
|
D | test_subprocess.py | 391 with os_helper.change_cwd(cwd):
|
D | test_os.py | 131 with os_helper.change_cwd(tmpdir) as path:
|
/third_party/python/Lib/test/support/ |
D | os_helper.py | 405 def change_cwd(path, quiet=False): function 448 with change_cwd(temp_path, quiet=quiet) as cwd_dir:
|
/third_party/python/Doc/library/ |
D | test.rst | 1383 .. function:: change_cwd(path, quiet=False)
|
/third_party/python/Misc/ |
D | HISTORY | 5981 - Issue #15415: Add new temp_dir() and change_cwd() context managers to
|