Skip to content

Commit

Permalink
Revert "test: Fixed error in tests"
Browse files Browse the repository at this point in the history
This reverts commit 01fc259.
  • Loading branch information
HLasse committed Jan 2, 2023
1 parent 2d028f1 commit a0bb828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_coherence.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def test_coherence_blank_pipe():
# check that an exception is raised
with pytest.raises(ValueError) as e:
doc = nlp(text) # noqa F841
assert "Sentence vectors are not available" in str(e.value)
assert "Sentence boundaries unset" in str(e.value)

# add a sentencizer
nlp.add_pipe("sentencizer", before="textdescriptives/coherence")
Expand Down

0 comments on commit a0bb828

Please sign in to comment.