Fix test for empty sentence string.

This commit is contained in:
Matthew Honnibal 2016-09-27 19:21:22 +02:00
parent 4cbf0d3bb6
commit 81a47c01d8
1 changed files with 1 additions and 0 deletions

View File

@ -166,6 +166,7 @@ def test_merge_hang():
def test_sents_empty_string(EN):
doc = EN(u'')
doc.is_parsed = True
sents = list(doc.sents)
assert len(sents) == 0