Searched refs:FakePath (Results 1 – 12 of 12) sorted by relevance
/external/toolchain-utils/crosperf/ |
D | results_report_unittest.py | 71 def FakePath(ext): function 100 """ % (FakePath('cros_image1.bin'), FakePath('cros_image2.bin'))) 103 FakePath('working_directory'), 104 FakePath('log_dir')) 127 FakePath('chromeos_root'), 0, log_level, locks_dir)
|
/external/python/cpython3/Lib/test/ |
D | test_ntpath.py | 6 from test.support import TestFailed, FakePath 470 self.file_path = FakePath(support.TESTFN) 485 self.assertEqual(self.path.join('a', FakePath('b'), 'c'),
|
D | test_os.py | 64 from test.support import unix_shell, FakePath 976 self.test_walk_prune(FakePath(self.walk_path)) 2426 pid = os.spawnv(os.P_NOWAIT, FakePath(args[0]), args) 3287 bytes_fspath = FakePath(bytes_filename) 3288 fd = os.open(FakePath(str_filename), os.O_WRONLY|os.O_CREAT) 3292 int_fspath = FakePath(fd) 3293 str_fspath = FakePath(str_filename) 3328 os.stat(FakePath(2)) 3330 os.stat(FakePath(2.34)) 3332 os.stat(FakePath(object())) [all …]
|
D | test_posixpath.py | 7 from test.support import FakePath 619 self.file_path = FakePath(support.TESTFN) 634 self.assertEqual(self.path.join('a', FakePath('b'), 'c'),
|
D | test_genericpath.py | 12 from test.support import FakePath 520 self.file_path = FakePath(support.TESTFN)
|
D | test_compile.py | 10 from test.support import script_helper, FakePath 685 compile("42", FakePath("test_compile_pathlike"), "single")
|
D | test_io.py | 41 from test.support import FakePath 910 check_path_succeeds(FakePath(support.TESTFN)) 911 check_path_succeeds(FakePath(support.TESTFN.encode('utf-8'))) 914 bad_path = FakePath(f.fileno()) 918 bad_path = FakePath(None) 922 bad_path = FakePath(FloatingPointError) 928 self.open(FakePath(support.TESTFN), 'rwxa')
|
D | test_pathlib.py | 15 from test.support import TESTFN, FakePath 199 P(FakePath("a/b/c")) 203 self.assertEqual(P(P('a'), P('b'), P('c')), P(FakePath("a/b/c")))
|
D | test_shutil.py | 25 from test.support import TESTFN, FakePath 1237 self.check_unpack_archive_with_converter(format, FakePath)
|
D | test_subprocess.py | 21 from test.support import FakePath 364 self._assert_cwd(temp_dir, sys.executable, cwd=FakePath(temp_dir))
|
/external/python/cpython3/Lib/test/support/ |
D | __init__.py | 2890 class FakePath: class
|
/external/python/cpython3/Doc/library/ |
D | test.rst | 1300 .. class:: FakePath(path)
|