Searched refs:temp_cwd (Results 1 – 25 of 32) 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_test_support.py | 267 with support.temp_cwd(name=TESTFN): 276 with support.temp_cwd(name=None) as new_cwd:
|
D | test_ntpath.py | 290 with test_support.temp_cwd(test_support.TESTFN) as cwd_dir:
|
D | test_pep277.py | 167 with test_support.temp_cwd(dirname):
|
/external/python/cpython3/Lib/distutils/tests/ |
D | test_build_ext.py | 43 self.temp_cwd = support.temp_cwd() 44 self.temp_cwd.__enter__() 45 self.addCleanup(self.temp_cwd.__exit__, None, None, None)
|
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(): 356 with support.temp_cwd():
|
D | test_ntpath.py | 283 with support.temp_cwd(support.TESTFN) as cwd_dir: # bpo-31047 295 with support.temp_cwd(support.TESTFN) as cwd_dir:
|
D | test_unicode_file_functions.py | 161 with support.temp_cwd(dirname):
|
D | test_pydoc.py | 591 with test.support.temp_cwd() as test_dir: 617 with test.support.temp_cwd() as test_dir: 621 with test.support.temp_cwd() as test_dir:
|
D | test_support.py | 264 with support.temp_cwd(name=TESTFN): 273 with support.temp_cwd(name=None) as new_cwd:
|
D | test_genericpath.py | 454 with support.temp_cwd(unicwd): 473 with support.temp_cwd(name):
|
D | test_pdb.py | 1313 with support.temp_cwd():
|
D | test_tarfile.py | 2350 with support.temp_cwd(tarextdir): 2360 with support.temp_cwd(tarextdir): 2369 with support.temp_cwd(tarextdir): 2377 with support.temp_cwd(tarextdir):
|
D | test_cmd_line.py | 485 with support.temp_cwd() as tmpdir:
|
D | test_bdb.py | 534 with test.support.temp_cwd():
|
D | test_zipfile.py | 17 from test.support import (TESTFN, findfile, unlink, rmtree, temp_dir, temp_cwd, 1026 with temp_cwd(): 1072 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 | 150 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/libregrtest/ |
D | main.py | 585 with support.temp_cwd(test_cwd, quiet=True):
|
/external/python/cpython3/Lib/test/test_warnings/ |
D | __init__.py | 1262 with support.temp_cwd() as cwd, support.temp_cwd('encodings'):
|
/external/python/cpython2/Lib/test/support/ |
D | __init__.py | 794 def temp_cwd(name='tempcwd', quiet=False): function
|
12