Make sure sents are a list

This commit is contained in:
ines 2017-06-05 12:30:13 +02:00
parent a4dcc96c54
commit 51d7414e94
1 changed files with 1 additions and 1 deletions

View File

@ -11,5 +11,5 @@ def test_issue704(EN):
text = '“Atticus said to Jem one day, “Id rather you shot at tin cans in the backyard, but I know youll go after birds. Shoot all the blue jays you want, if you can hit em, but remember its a sin to kill a mockingbird.”'
doc = EN(text)
sents = [sent for sent in doc.sents]
sents = list([sent for sent in doc.sents])
assert len(sents) == 3