(self, path1)
| 144 | # assert sfile.check(fnmatch=pattern) |
| 145 | |
| 146 | def test_relto(self, path1): |
| 147 | p = path1.join("sampledir", "otherfile") |
| 148 | assert p.relto(path1) == p.sep.join(["sampledir", "otherfile"]) |
| 149 | assert p.check(relto=path1) |
| 150 | assert path1.check(notrelto=p) |
| 151 | assert not path1.check(relto=p) |
| 152 | |
| 153 | def test_bestrelpath(self, path1): |
| 154 | curdir = path1 |