(self, alpharep)
| 553 | |
| 554 | @pass_alpharep |
| 555 | def test_relative_to(self, alpharep): |
| 556 | root = zipfile.Path(alpharep) |
| 557 | relative = root.joinpath("b", "c.txt").relative_to(root / "b") |
| 558 | assert str(relative) == "c.txt" |
| 559 | |
| 560 | relative = root.joinpath("b", "d", "e.txt").relative_to(root / "b") |
| 561 | assert str(relative) == "d/e.txt" |
| 562 | |
| 563 | @pass_alpharep |
| 564 | def test_inheritance(self, alpharep): |
nothing calls this directly
no test coverage detected