Searched refs:WindowsPath (Results 1 – 4 of 4) sorted by relevance
32 You cannot instantiate a :class:`WindowsPath` when running on Unix, but you590 :class:`PosixPath` or a :class:`WindowsPath`)::607 .. class:: WindowsPath(*pathsegments)612 >>> WindowsPath('c:/Program Files/')613 WindowsPath('c:/Program Files')628 >>> WindowsPath('setup.py')633 NotImplementedError: cannot instantiate 'WindowsPath' on your system
1002 cls = WindowsPath if os.name == 'nt' else PosixPath1477 class WindowsPath(Path, PureWindowsPath): class
1190 cls = pathlib.WindowsPath2044 pathlib.WindowsPath if os.name == 'nt' else pathlib.PosixPath)2050 self.assertRaises(NotImplementedError, pathlib.WindowsPath)2206 cls = pathlib.WindowsPath
540 TEST_F(InMemoryFileSystemTest, WindowsPath) { in TEST_F() argument