mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-13 18:56:36 +03:00
10 lines
192 B
Python
10 lines
192 B
Python
import pytest
|
|
from spacy.language import Language
|
|
|
|
|
|
def test_issue4924():
|
|
nlp = Language()
|
|
docs_golds = [("", {})]
|
|
with pytest.raises(ValueError):
|
|
nlp.evaluate(docs_golds)
|