(self, path1)
| 444 | assert p.check() |
| 445 | |
| 446 | def test_move_dir(self, path1): |
| 447 | source = path1.join("sampledir") |
| 448 | dest = path1.join("moveddir") |
| 449 | source.move(dest) |
| 450 | assert dest.check(dir=1) |
| 451 | assert dest.join("otherfile").check(file=1) |
| 452 | assert not source.join("sampledir").check() |
| 453 | |
| 454 | def test_fspath_protocol_match_strpath(self, path1): |
| 455 | assert path1.__fspath__() == path1.strpath |