mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-25 00:34:20 +03:00
Fix test
This commit is contained in:
parent
fd09e6b140
commit
f83dfe62da
|
@ -77,7 +77,7 @@ def test_morph_property(tokenizer):
|
|||
assert doc.to_array(["MORPH"])[0] != 0
|
||||
|
||||
# unset with token.morph
|
||||
doc[0].set_morph(0)
|
||||
doc[0].set_morph(None)
|
||||
assert doc.to_array(["MORPH"])[0] == 0
|
||||
|
||||
# empty morph is equivalent to "_"
|
||||
|
|
Loading…
Reference in New Issue
Block a user