(csv_path, tmp_path_factory)
| 265 | |
| 266 | @pytest.fixture(scope="session") |
| 267 | def bz2_csv_path(csv_path, tmp_path_factory): |
| 268 | import bz2 |
| 269 | |
| 270 | path = tmp_path_factory.mktemp("data") / "dataset.csv.bz2" |
| 271 | with open(csv_path, "rb") as f: |
| 272 | data = f.read() |
| 273 | # data = bytes(FILE_CONTENT, "utf-8") |
| 274 | with bz2.open(path, "wb") as f: |
| 275 | f.write(data) |
| 276 | return path |
| 277 | |
| 278 | |
| 279 | @pytest.fixture(scope="session") |
nothing calls this directly
no test coverage detected
searching dependent graphs…