MCPcopy Create free account
hub / github.com/huggingface/evaluate / tar_nested_jsonl_path

Function tar_nested_jsonl_path

tests/conftest.py:427–431  ·  view source on GitHub ↗
(tar_jsonl_path, jsonl_path, jsonl2_path, tmp_path_factory)

Source from the content-addressed store, hash-verified

425
426@pytest.fixture(scope="session")
427def 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")

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…