Home
last modified time | relevance | path

Searched refs:change_cwd (Results 1 - 21 of 21) sorted by relevance

/third_party/python/Lib/distutils/tests/
H A Dtest_spawn.py71 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 Dtest_archive_util.py17 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 Dtest_build_ext.py44 self.enterContext(os_helper.change_cwd(self.tmp_dir))
/third_party/python/Lib/test/
H A Dtest_cmd_line_script.py387 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 Dtest_profile.py9 from test.support.os_helper import TESTFN, unlink, temp_dir, change_cwd namespace
115 with temp_dir() as tmpdir, change_cwd(tmpdir):
H A Dtest_unicode_file.py9 from test.support.os_helper import (rmtree, change_cwd, TESTFN_UNICODE, namespace
91 with change_cwd(chdir_name):
H A Dtest_startfile.py31 with os_helper.change_cwd(path.dirname(sys.executable)):
H A Dtest_glob.py8 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 Dtest_posixpath.py453 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 Dtest_support.py229 # 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 Dtest_ntpath.py370 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 Dtest_shutil.py1354 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 Dtest_sysconfig.py13 change_cwd)
470 with change_cwd(os.pardir):
H A Dtest_py_compile.py106 with os_helper.change_cwd(self.directory):
H A Dtest_site.py13 from test.support.os_helper import TESTFN, EnvironmentVarGuard, change_cwd namespace
H A Dtest_cmd_line.py187 with os_helper.change_cwd(projectlibpath):
H A Dtest_tarfile.py1392 with os_helper.change_cwd(TEMPDIR):
1521 with os_helper.change_cwd(TEMPDIR):
H A Dtest_subprocess.py409 with os_helper.change_cwd(cwd):
H A Dtest_os.py133 with os_helper.change_cwd(tmpdir) as path:
/third_party/python/Lib/test/support/
H A Dos_helper.py487 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 Dtest_c_parser.py99 self.enterContext(os_helper.change_cwd(self.tmp_path))

Completed in 31 milliseconds