mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-24 16:24:16 +03:00
Assert instead of print
This commit is contained in:
parent
f0986df94b
commit
eef930c73e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user