Assert instead of print

This commit is contained in:
ines 2017-11-03 18:50:57 +01:00
parent f0986df94b
commit eef930c73e

View File

@ -23,4 +23,4 @@ def test_issue1488():
nlp.tokenizer = my_tokenizer(nlp)
doc = nlp("This is a test.")
for token in doc:
print(token.text)
assert token.text