(tmp_path: Path)
| 92 | |
| 93 | |
| 94 | def test_writer_after_close_raises(tmp_path: Path) -> None: |
| 95 | w = TranscriptWriter(tmp_path / "x.jsonl") |
| 96 | w.close() |
| 97 | with pytest.raises(RuntimeError, match="closed"): |
| 98 | w.append({"k": 1}) |
| 99 | |
| 100 | |
| 101 | def test_writer_dataclass_serialization(tmp_path: Path) -> None: |
nothing calls this directly
no test coverage detected