mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-04 20:30:24 +03:00
Restore test case
This commit is contained in:
parent
3d7213f209
commit
58fd4bd1f2
|
@ -32,6 +32,7 @@ def test_token_morph_key(i_has):
|
||||||
|
|
||||||
def test_morph_props(i_has):
|
def test_morph_props(i_has):
|
||||||
assert i_has[0].morph.get("PronType") == ["prs"]
|
assert i_has[0].morph.get("PronType") == ["prs"]
|
||||||
|
assert i_has[1].morph.get("PronType") == []
|
||||||
assert i_has[1].morph.get("AsdfType", ["asdf"]) == ["asdf"]
|
assert i_has[1].morph.get("AsdfType", ["asdf"]) == ["asdf"]
|
||||||
assert i_has[1].morph.get("AsdfType", default=["asdf", "qwer"]) == ["asdf", "qwer"]
|
assert i_has[1].morph.get("AsdfType", default=["asdf", "qwer"]) == ["asdf", "qwer"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user