This commit is contained in:
Adriane Boyd 2020-10-02 10:17:26 +02:00
parent fd09e6b140
commit f83dfe62da

View File

@ -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 "_"