Home
last modified time | relevance | path

Searched refs:FakePath (Results 1 – 12 of 12) sorted by relevance

/external/toolchain-utils/crosperf/
Dresults_report_unittest.py71 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/
Dtest_ntpath.py6 from test.support import TestFailed, FakePath
470 self.file_path = FakePath(support.TESTFN)
485 self.assertEqual(self.path.join('a', FakePath('b'), 'c'),
Dtest_os.py64 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 …]
Dtest_posixpath.py7 from test.support import FakePath
619 self.file_path = FakePath(support.TESTFN)
634 self.assertEqual(self.path.join('a', FakePath('b'), 'c'),
Dtest_genericpath.py12 from test.support import FakePath
520 self.file_path = FakePath(support.TESTFN)
Dtest_compile.py10 from test.support import script_helper, FakePath
685 compile("42", FakePath("test_compile_pathlike"), "single")
Dtest_io.py41 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')
Dtest_pathlib.py15 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")))
Dtest_shutil.py25 from test.support import TESTFN, FakePath
1237 self.check_unpack_archive_with_converter(format, FakePath)
Dtest_subprocess.py21 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__.py2890 class FakePath: class
/external/python/cpython3/Doc/library/
Dtest.rst1300 .. class:: FakePath(path)