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