* Fix test_space_attachment

This commit is contained in:
Matthew Honnibal 2015-10-15 03:24:57 +11:00
parent b0c6daf356
commit b4cac52f7f

View File

@ -8,4 +8,5 @@ def test_space_attachment(EN):
doc = EN(sentence)
for sent in doc.sents:
assert not sent[-1].is_space
if len(sent) == 1:
assert not sent[-1].is_space