(jsonl_path, jsonl2_path, tmp_path_factory)
| 416 | |
| 417 | @pytest.fixture(scope="session") |
| 418 | def tar_jsonl_path(jsonl_path, jsonl2_path, tmp_path_factory): |
| 419 | path = tmp_path_factory.mktemp("data") / "dataset.jsonl.tar" |
| 420 | with tarfile.TarFile(path, "w") as f: |
| 421 | f.add(jsonl_path, arcname=os.path.basename(jsonl_path)) |
| 422 | f.add(jsonl2_path, arcname=os.path.basename(jsonl2_path)) |
| 423 | return path |
| 424 | |
| 425 | |
| 426 | @pytest.fixture(scope="session") |
nothing calls this directly
no test coverage detected
searching dependent graphs…