mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
10 lines
191 B
Python
10 lines
191 B
Python
import pytest
|
|
from spacy.language import Language
|
|
|
|
|
|
def test_evaluate():
|
|
nlp = Language()
|
|
docs_golds = [("", {})]
|
|
with pytest.raises(ValueError):
|
|
nlp.evaluate(docs_golds)
|