(tar_jsonl_path, jsonl_path, jsonl2_path, tmp_path_factory)
| 425 | |
| 426 | @pytest.fixture(scope="session") |
| 427 | def tar_nested_jsonl_path(tar_jsonl_path, jsonl_path, jsonl2_path, tmp_path_factory): |
| 428 | path = tmp_path_factory.mktemp("data") / "dataset_nested.jsonl.tar" |
| 429 | with tarfile.TarFile(path, "w") as f: |
| 430 | f.add(tar_jsonl_path, arcname=os.path.join("nested", os.path.basename(tar_jsonl_path))) |
| 431 | return path |
| 432 | |
| 433 | |
| 434 | @pytest.fixture(scope="session") |
nothing calls this directly
no test coverage detected
searching dependent graphs…