Home
last modified time | relevance | path

Searched refs:change_cwd (Results 1 – 22 of 22) sorted by relevance

/third_party/python/Lib/test/test_peg_generator/
Dtest_c_parser.py81 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/
Dtest_spawn.py69 with os_helper.change_cwd(tmp_dir):
89 with os_helper.change_cwd(tmp_dir):
103 with os_helper.change_cwd(tmp_dir):
Dtest_archive_util.py17 from test.support.os_helper import change_cwd
114 with change_cwd(tmpdir):
243 with change_cwd(tmpdir):
268 with change_cwd(tmpdir):
Dtest_build_ext.py43 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/
Dtest_cmd_line_script.py385 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):
Dtest_profile.py9 from test.support.os_helper import TESTFN, unlink, temp_dir, change_cwd
115 with temp_dir() as tmpdir, change_cwd(tmpdir):
Dtest_unicode_file.py9 from test.support.os_helper import (rmtree, change_cwd, TESTFN_UNICODE,
91 with change_cwd(chdir_name):
Dtest_startfile.py31 with os_helper.change_cwd(path.dirname(sys.executable)):
Dtest_glob.py8 can_symlink, create_empty_file, change_cwd)
64 with change_cwd(self.tempdir):
296 with change_cwd(self.tempdir):
342 with change_cwd(tempdir):
Dtest_posixpath.py413 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)):
Dtest_support.py232 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):
Dtest_ntpath.py301 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)):
Dtest_shutil.py1319 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 …]
Dtest_sysconfig.py11 change_cwd)
390 with change_cwd(os.pardir):
Dtest_py_compile.py106 with os_helper.change_cwd(self.directory):
Dtest_site.py13 from test.support.os_helper import TESTFN, EnvironmentVarGuard, change_cwd
Dtest_tarfile.py1275 with os_helper.change_cwd(TEMPDIR):
1403 with os_helper.change_cwd(TEMPDIR):
Dtest_subprocess.py391 with os_helper.change_cwd(cwd):
Dtest_os.py131 with os_helper.change_cwd(tmpdir) as path:
/third_party/python/Lib/test/support/
Dos_helper.py405 def change_cwd(path, quiet=False): function
448 with change_cwd(temp_path, quiet=quiet) as cwd_dir:
/third_party/python/Doc/library/
Dtest.rst1383 .. function:: change_cwd(path, quiet=False)
/third_party/python/Misc/
DHISTORY5981 - Issue #15415: Add new temp_dir() and change_cwd() context managers to