| 254 | (b'\\\\\xff\\\xfe', b'\\', b'\xfd')) |
| 255 | |
| 256 | def test_split(self): |
| 257 | tester('ntpath.split("c:\\foo\\bar")', ('c:\\foo', 'bar')) |
| 258 | tester('ntpath.split("\\\\conky\\mountpoint\\foo\\bar")', |
| 259 | ('\\\\conky\\mountpoint\\foo', 'bar')) |
| 260 | |
| 261 | tester('ntpath.split("c:\\")', ('c:\\', '')) |
| 262 | tester('ntpath.split("\\\\conky\\mountpoint\\")', |
| 263 | ('\\\\conky\\mountpoint\\', '')) |
| 264 | |
| 265 | tester('ntpath.split("c:/")', ('c:/', '')) |
| 266 | tester('ntpath.split("//conky/mountpoint/")', ('//conky/mountpoint/', '')) |
| 267 | |
| 268 | def test_split_invalid_paths(self): |
| 269 | split = ntpath.split |