Home
last modified time | relevance | path

Searched refs:WindowsPath (Results 1 – 8 of 8) sorted by relevance

/external/python/pyfakefs/pyfakefs/
Dfake_pathlib.py482 cls = (FakePathlibModule.WindowsPath
728 class WindowsPath(FakePath, PureWindowsPath): class in FakePathlibModule
799 cls = (RealPathlibModule.WindowsPath if os.name == 'nt'
825 class WindowsPath(RealPath, PureWindowsPath): class in RealPathlibModule
/external/python/cpython3/Doc/library/
Dpathlib.rst32 You cannot instantiate a :class:`WindowsPath` when running on Unix, but you
633 :class:`PosixPath` or a :class:`WindowsPath`)::
650 .. class:: WindowsPath(*pathsegments)
655 >>> WindowsPath('c:/Program Files/')
656 WindowsPath('c:/Program Files')
671 >>> WindowsPath('setup.py')
676 NotImplementedError: cannot instantiate 'WindowsPath' on your system
/external/python/cpython3/Lib/
Dpathlib.py957 cls = WindowsPath if os.name == 'nt' else PosixPath
1451 class WindowsPath(Path, PureWindowsPath): class
/external/python/parse_type/tasks/_vendor/
Dpathlib.py935 cls = WindowsPath if os.name == 'nt' else PosixPath
1278 class WindowsPath(Path, PureWindowsPath): class
/external/python/pyfakefs/pyfakefs/tests/
Dfake_pathlib_test.py57 self.assertTrue(isinstance(path, self.pathlib.WindowsPath))
72 self.pathlib.WindowsPath()
74 self.assertTrue(self.pathlib.WindowsPath())
/external/python/cpython3/Lib/test/
Dtest_pathlib.py1361 cls = pathlib.WindowsPath
2442 pathlib.WindowsPath if os.name == 'nt' else pathlib.PosixPath)
2448 self.assertRaises(NotImplementedError, pathlib.WindowsPath)
2623 cls = pathlib.WindowsPath
/external/clang/unittests/Basic/
DVirtualFileSystemTest.cpp540 TEST_F(InMemoryFileSystemTest, WindowsPath) { in TEST_F() argument
/external/python/cpython3/Misc/NEWS.d/
D3.9.0a1.rst1257 The case the result of :func:`pathlib.WindowsPath.glob` matches now the case