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

Function tar_jsonl_path

tests/conftest.py:418–423  ·  view source on GitHub ↗
(jsonl_path, jsonl2_path, tmp_path_factory)

Source from the content-addressed store, hash-verified

416
417@pytest.fixture(scope="session")
418def 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")

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…