Searched refs:WindowsPath (Results 1 – 10 of 10) sorted by relevance
31 TEST(ParsePathMappingTests, WindowsPath) { in TEST() argument
462 cls = (FakePathlibModule.WindowsPath if os.name == 'nt'674 class WindowsPath(FakePath, PureWindowsPath): class in FakePathlibModule
32 You cannot instantiate a :class:`WindowsPath` when running on Unix, but you631 :class:`PosixPath` or a :class:`WindowsPath`)::648 .. class:: WindowsPath(*pathsegments)653 >>> WindowsPath('c:/Program Files/')654 WindowsPath('c:/Program Files')669 >>> WindowsPath('setup.py')674 NotImplementedError: cannot instantiate 'WindowsPath' on your system
935 cls = WindowsPath if os.name == 'nt' else PosixPath1278 class WindowsPath(Path, PureWindowsPath): class
1070 cls = WindowsPath if os.name == 'nt' else PosixPath1568 class WindowsPath(Path, PureWindowsPath): class
67 self.assertTrue(isinstance(path, self.pathlib.WindowsPath))76 self.pathlib.WindowsPath)
1311 cls = pathlib.WindowsPath2313 pathlib.WindowsPath if os.name == 'nt' else pathlib.PosixPath)2319 self.assertRaises(NotImplementedError, pathlib.WindowsPath)2484 cls = pathlib.WindowsPath
540 TEST_F(InMemoryFileSystemTest, WindowsPath) { in TEST_F() argument
913 TEST_F(InMemoryFileSystemTest, WindowsPath) { in TEST_F() argument
1257 The case the result of :func:`pathlib.WindowsPath.glob` matches now the case