Searched refs:temp_cwd (Results 1 – 25 of 33) sorted by relevance
12
/external/python/cpython3/Lib/test/test_tools/ |
D | test_i18n.py | 10 from test.support import temp_cwd, temp_dir 59 with temp_cwd(None) as cwd: 71 with temp_cwd(None) as cwd: 98 with temp_cwd(None) as cwd: 230 with temp_cwd(None), temp_dir(None) as sdir:
|
/external/python/cpython2/Lib/test/ |
D | test_pydoc.py | 401 with test.test_support.temp_cwd() as test_dir: 419 with test.test_support.temp_cwd() as test_dir: 563 with test.test_support.temp_cwd(): 592 with test.test_support.temp_cwd(): 605 with test.test_support.temp_cwd(), test.test_support.captured_stdin(): 616 with test.test_support.temp_cwd():
|
D | test_genericpath.py | 268 with test_support.temp_cwd(unicwd): 276 with test_support.temp_cwd('\xe7w\xf0'):
|
D | test_pep277.py | 167 with test_support.temp_cwd(dirname):
|
D | test_ntpath.py | 290 with test_support.temp_cwd(test_support.TESTFN) as cwd_dir:
|
D | test_test_support.py | 267 with support.temp_cwd(name=TESTFN): 276 with support.temp_cwd(name=None) as new_cwd:
|
/external/python/cpython3/Lib/distutils/tests/ |
D | test_filelist.py | 300 with test.support.temp_cwd(): 310 with test.support.temp_cwd():
|
/external/python/cpython3/Lib/test/ |
D | test_imp.py | 302 with support.temp_cwd(): 367 with support.temp_cwd():
|
D | test_unicode_file_functions.py | 161 with support.temp_cwd(dirname):
|
D | test_support.py | 259 with support.temp_cwd(name=TESTFN): 268 with support.temp_cwd(name=None) as new_cwd:
|
D | test_genericpath.py | 472 with support.temp_cwd(unicwd): 491 with support.temp_cwd(name):
|
D | test_cmd_line.py | 506 with support.temp_cwd() as tmpdir: 568 with support.temp_cwd():
|
D | test_pydoc.py | 730 with test.support.temp_cwd() as test_dir: 747 with test.support.temp_cwd() as test_dir: 751 with test.support.temp_cwd() as test_dir:
|
D | test_ntpath.py | 536 with support.temp_cwd(support.TESTFN) as cwd_dir: # bpo-31047 548 with support.temp_cwd(support.TESTFN) as cwd_dir:
|
D | test_pdb.py | 1456 with support.temp_cwd():
|
D | test_fstring.py | 16 from test.support import temp_cwd, use_old_parser 1064 with temp_cwd() as cwd:
|
D | test_tarfile.py | 2447 with support.temp_cwd(tarextdir): 2457 with support.temp_cwd(tarextdir): 2467 with support.temp_cwd(tarextdir): 2475 with support.temp_cwd(tarextdir):
|
D | test_bdb.py | 534 with test.support.temp_cwd():
|
D | test_cmd_line_script.py | 227 with support.temp_cwd() as script_dir:
|
D | test_zipfile.py | 22 from test.support import (TESTFN, findfile, unlink, rmtree, temp_dir, temp_cwd, 1337 with temp_cwd(): 1383 with temp_cwd():
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_api.py | 247 with support.temp_cwd(None) as cwd: 298 with support.temp_cwd(None) as cwd:
|
D | util.py | 161 with support.temp_cwd(None) as cwd:
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7a4.rst | 428 test_support gained a new ``temp_cwd`` context manager which is now also
|
/external/python/cpython3/Lib/test/test_warnings/ |
D | __init__.py | 1221 with support.temp_cwd() as cwd, support.temp_cwd('encodings'):
|
/external/python/cpython3/Lib/test/libregrtest/ |
D | main.py | 632 with support.temp_cwd(test_cwd, quiet=True):
|
12