Writing empty results should be a no-op.
()
| 177 | |
| 178 | @pytest.mark.skipif(not _HAS_YAML, reason="pyyaml not installed") |
| 179 | def test_write_csv_empty(): |
| 180 | """Writing empty results should be a no-op.""" |
| 181 | with tempfile.TemporaryDirectory() as tmpdir: |
| 182 | path = Path(tmpdir) / "empty.csv" |
| 183 | write_csv([], path) |
| 184 | assert not path.exists() |
| 185 | |
| 186 | |
| 187 | def test_generate_readme_tables(): |
nothing calls this directly
no test coverage detected