From 58fd4bd1f258ed3bfcbf08b3331bafb0f3200c92 Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Thu, 20 Apr 2023 13:05:20 +0200 Subject: [PATCH] Restore test case --- spacy/tests/doc/test_morphanalysis.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spacy/tests/doc/test_morphanalysis.py b/spacy/tests/doc/test_morphanalysis.py index 93744b9cb..49e32b936 100644 --- a/spacy/tests/doc/test_morphanalysis.py +++ b/spacy/tests/doc/test_morphanalysis.py @@ -32,6 +32,7 @@ def test_token_morph_key(i_has): def test_morph_props(i_has): 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", default=["asdf", "qwer"]) == ["asdf", "qwer"]