()
| 965 | |
| 966 | |
| 967 | def 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 | |
| 978 | def test_applycli_txt(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…