(self, path1)
| 65 | assert not p.isfile() |
| 66 | |
| 67 | def test_parts(self, path1): |
| 68 | newpath = path1.join("sampledir", "otherfile") |
| 69 | par = newpath.parts()[-3:] |
| 70 | assert par == [path1, path1.join("sampledir"), newpath] |
| 71 | |
| 72 | revpar = newpath.parts(reverse=True)[:3] |
| 73 | assert revpar == [newpath, path1.join("sampledir"), path1] |
| 74 | |
| 75 | def test_common(self, path1): |
| 76 | other = path1.join("sampledir") |