Create a temporary CSV file for testing.
(tmp_path, sample_csv)
| 297 | |
| 298 | @pytest.fixture |
| 299 | def temp_csv_file(tmp_path, sample_csv): |
| 300 | """Create a temporary CSV file for testing.""" |
| 301 | csv_file = tmp_path / "test_data.csv" |
| 302 | csv_file.write_text(sample_csv) |
| 303 | return str(csv_file) |
| 304 | |
| 305 | |
| 306 | # ============================================================================ |
nothing calls this directly
no outgoing calls
no test coverage detected