remove irrelevant unit test (behaviour clarified by new error msgs around doc.spans)

This commit is contained in:
svlandeg 2022-02-07 12:17:18 +01:00
parent c7f586c4ba
commit 0c15ab7ca1

View File

@ -78,15 +78,6 @@ def test_initialized_short(nlp):
print(doc.spans) print(doc.spans)
def test_initialized_2(nlp):
nlp.add_pipe("coref")
nlp.initialize()
assert nlp.pipe_names == ["coref"]
text = "She gave me her pen."
# TODO: This crashes though it works when using intermediate var 'doc' !
print(nlp(text).spans)
def test_coref_serialization(nlp): def test_coref_serialization(nlp):
# Test that the coref component can be serialized # Test that the coref component can be serialized
nlp.add_pipe("coref", last=True) nlp.add_pipe("coref", last=True)