Home
last modified time | relevance | path

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

12

/external/python/cpython3/Lib/test/test_tools/
Dtest_i18n.py10 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/
Dtest_pydoc.py401 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():
Dtest_genericpath.py268 with test_support.temp_cwd(unicwd):
276 with test_support.temp_cwd('\xe7w\xf0'):
Dtest_test_support.py267 with support.temp_cwd(name=TESTFN):
276 with support.temp_cwd(name=None) as new_cwd:
Dtest_ntpath.py290 with test_support.temp_cwd(test_support.TESTFN) as cwd_dir:
Dtest_pep277.py167 with test_support.temp_cwd(dirname):
/external/python/cpython3/Lib/distutils/tests/
Dtest_build_ext.py43 self.temp_cwd = support.temp_cwd()
44 self.temp_cwd.__enter__()
45 self.addCleanup(self.temp_cwd.__exit__, None, None, None)
Dtest_filelist.py300 with test.support.temp_cwd():
310 with test.support.temp_cwd():
/external/python/cpython3/Lib/test/
Dtest_imp.py302 with support.temp_cwd():
356 with support.temp_cwd():
Dtest_ntpath.py283 with support.temp_cwd(support.TESTFN) as cwd_dir: # bpo-31047
295 with support.temp_cwd(support.TESTFN) as cwd_dir:
Dtest_unicode_file_functions.py161 with support.temp_cwd(dirname):
Dtest_pydoc.py591 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:
Dtest_support.py264 with support.temp_cwd(name=TESTFN):
273 with support.temp_cwd(name=None) as new_cwd:
Dtest_genericpath.py454 with support.temp_cwd(unicwd):
473 with support.temp_cwd(name):
Dtest_pdb.py1313 with support.temp_cwd():
Dtest_tarfile.py2350 with support.temp_cwd(tarextdir):
2360 with support.temp_cwd(tarextdir):
2369 with support.temp_cwd(tarextdir):
2377 with support.temp_cwd(tarextdir):
Dtest_cmd_line.py485 with support.temp_cwd() as tmpdir:
Dtest_bdb.py534 with test.support.temp_cwd():
Dtest_zipfile.py17 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/
Dtest_api.py247 with support.temp_cwd(None) as cwd:
298 with support.temp_cwd(None) as cwd:
Dutil.py150 with support.temp_cwd(None) as cwd:
/external/python/cpython2/Misc/NEWS.d/
D2.7a4.rst428 test_support gained a new ``temp_cwd`` context manager which is now also
/external/python/cpython3/Lib/test/libregrtest/
Dmain.py585 with support.temp_cwd(test_cwd, quiet=True):
/external/python/cpython3/Lib/test/test_warnings/
D__init__.py1262 with support.temp_cwd() as cwd, support.temp_cwd('encodings'):
/external/python/cpython2/Lib/test/support/
D__init__.py794 def temp_cwd(name='tempcwd', quiet=False): function

12