(self, alpharep)
| 238 | |
| 239 | @pass_alpharep |
| 240 | def test_read(self, alpharep): |
| 241 | root = zipfile.Path(alpharep) |
| 242 | a, n, b, g, j = root.iterdir() |
| 243 | assert a.read_text(encoding="utf-8") == "content of a" |
| 244 | # Also check positional encoding arg (gh-101144). |
| 245 | assert a.read_text("utf-8") == "content of a" |
| 246 | assert a.read_bytes() == b"content of a" |
| 247 | |
| 248 | @pass_alpharep |
| 249 | def test_joinpath(self, alpharep): |
nothing calls this directly
no test coverage detected