Lines Matching refs:pathlib
5 import pathlib
64 flavour = pathlib._posix_flavour
100 flavour = pathlib._windows_flavour
298 q = eval(r, pathlib.__dict__)
632 cls = pathlib.PurePosixPath
708 cls = pathlib.PureWindowsPath
1145 cls = pathlib.PurePath
1150 pathlib.PureWindowsPath if os.name == 'nt' else pathlib.PurePosixPath)
1153 p = pathlib.PurePosixPath('a')
1154 q = pathlib.PureWindowsPath('a')
1158 p = pathlib.PurePosixPath('a')
1159 q = pathlib.PureWindowsPath('a')
1180 if not pathlib.supports_symlinks:
1201 cls = pathlib.PosixPath
1205 cls = pathlib.WindowsPath
1556 # See https://bitbucket.org/pitrou/pathlib/issue/9/pathresolve-fails-on-complex-symlinks
2003 cls = pathlib.Path
2008 pathlib.WindowsPath if os.name == 'nt' else pathlib.PosixPath)
2012 self.assertRaises(NotImplementedError, pathlib.PosixPath)
2014 self.assertRaises(NotImplementedError, pathlib.WindowsPath)
2024 cls = pathlib.PosixPath
2144 cls = pathlib.WindowsPath