From eef930c73e5ba4308473093a38fead383c85a6af Mon Sep 17 00:00:00 2001 From: ines Date: Fri, 3 Nov 2017 18:50:57 +0100 Subject: [PATCH] Assert instead of print --- spacy/tests/regression/test_issue1488.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/tests/regression/test_issue1488.py b/spacy/tests/regression/test_issue1488.py index 5e82517d6..6b9ab9a70 100644 --- a/spacy/tests/regression/test_issue1488.py +++ b/spacy/tests/regression/test_issue1488.py @@ -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