Searched refs:WindowsPath (Results 1 – 8 of 8) sorted by relevance
482 cls = (FakePathlibModule.WindowsPath728 class WindowsPath(FakePath, PureWindowsPath): class in FakePathlibModule799 cls = (RealPathlibModule.WindowsPath if os.name == 'nt'825 class WindowsPath(RealPath, PureWindowsPath): class in RealPathlibModule
32 You cannot instantiate a :class:`WindowsPath` when running on Unix, but you633 :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
957 cls = WindowsPath if os.name == 'nt' else PosixPath1451 class WindowsPath(Path, PureWindowsPath): class
935 cls = WindowsPath if os.name == 'nt' else PosixPath1278 class WindowsPath(Path, PureWindowsPath): class
57 self.assertTrue(isinstance(path, self.pathlib.WindowsPath))72 self.pathlib.WindowsPath()74 self.assertTrue(self.pathlib.WindowsPath())
1361 cls = pathlib.WindowsPath2442 pathlib.WindowsPath if os.name == 'nt' else pathlib.PosixPath)2448 self.assertRaises(NotImplementedError, pathlib.WindowsPath)2623 cls = pathlib.WindowsPath
540 TEST_F(InMemoryFileSystemTest, WindowsPath) { in TEST_F() argument
1257 The case the result of :func:`pathlib.WindowsPath.glob` matches now the case