mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-09 16:10:33 +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)
|
nlp.tokenizer = my_tokenizer(nlp)
|
||||||
doc = nlp("This is a test.")
|
doc = nlp("This is a test.")
|
||||||
for token in doc:
|
for token in doc:
|
||||||
print(token.text)
|
assert token.text
|
||||||
|
|
Loading…
Reference in New Issue
Block a user