MCPcopy Index your code
hub / github.com/tirth8205/code-review-graph / test_write_csv_empty

Function test_write_csv_empty

tests/test_eval.py:179–184  ·  view source on GitHub ↗

Writing empty results should be a no-op.

()

Source from the content-addressed store, hash-verified

177
178@pytest.mark.skipif(not _HAS_YAML, reason="pyyaml not installed")
179def 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
187def test_generate_readme_tables():

Callers

nothing calls this directly

Calls 1

write_csvFunction · 0.90

Tested by

no test coverage detected