Home
last modified time | relevance | path

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

12

/external/python/cpython3/Lib/test/test_peg_generator/
Dtest_c_parser.py77 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/
Dtest_spawn.py69 with test_support.change_cwd(tmp_dir):
89 with test_support.change_cwd(tmp_dir):
103 with test_support.change_cwd(tmp_dir):
Dtest_archive_util.py16 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):
Dtest_build_ext.py41 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/
Dtest_cmd_line_script.py383 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):
Dtest_profile.py9 from test.support import TESTFN, run_unittest, unlink, temp_dir, change_cwd
115 with temp_dir() as tmpdir, change_cwd(tmpdir):
Dtest_startfile.py30 with support.change_cwd(path.dirname(sys.executable)):
Dtest_unicode_file.py8 from test.support import (run_unittest, rmtree, change_cwd,
89 with change_cwd(chdir_name):
Dtest_support.py198 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):
Dtest_ntpath.py288 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)):
Dtest_glob.py8 can_symlink, create_empty_file, change_cwd)
246 with change_cwd(self.tempdir):
292 with change_cwd(tempdir):
Dtest_posixpath.py395 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)):
Dtest_shutil.py1261 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 …]
Dtest_sysconfig.py9 captured_stdout, skip_unless_symlink, change_cwd,
342 with change_cwd(os.pardir):
Dtest_site.py12 change_cwd)
404 with change_cwd(cwd):
Dtest_py_compile.py106 with support.change_cwd(self.directory):
/external/python/cpython2/Lib/test/
Dtest_posixpath.py353 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)):
Dtest_startfile.py31 with test_support.change_cwd(path.dirname(sys.executable)):
Dtest_test_support.py215 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):
Dtest_unicode_file.py8 from test.test_support import run_unittest, change_cwd, TESTFN_UNICODE
121 with change_cwd(chdir_name):
Dtest_py_compile.py38 with support.change_cwd(self.directory):
Dtest_shutil.py387 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):
Dtest_cmd_line_script.py214 test.test_support.change_cwd(script_dir):
/external/python/cpython2/Lib/distutils/tests/
Dtest_spawn.py82 with test_support.change_cwd(tmp_dir):
/external/python/cpython2/Lib/test/support/
D__init__.py767 def change_cwd(path, quiet=False): function
809 with change_cwd(temp_path, quiet=quiet) as cwd_dir:

12