MCPcopy
hub / github.com/explosion/spaCy / test_applycli_jsonl

Function test_applycli_jsonl

spacy/tests/test_cli.py:967–975  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

965
966
967def test_applycli_jsonl():
968 with make_tempdir() as data_path:
969 output = data_path / "testout.spacy"
970 data = [{"field": "Testing apply cli.", "key": 234}]
971 data2 = [{"field": "234"}]
972 srsly.write_jsonl(data_path / "test.jsonl", data)
973 apply(data_path, output, "blank:en", "field", 1, 1)
974 srsly.write_jsonl(data_path / "test2.jsonl", data2)
975 apply(data_path, output, "blank:en", "field", 1, 1)
976
977
978def test_applycli_txt():

Callers

nothing calls this directly

Calls 2

applyFunction · 0.90
make_tempdirFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…