diff --git a/tests/test_morph_exceptions.py b/tests/test_morph_exceptions.py index 6987742f0..72714c7a7 100644 --- a/tests/test_morph_exceptions.py +++ b/tests/test_morph_exceptions.py @@ -21,5 +21,5 @@ def test_load_exc(EN, morph_exc): EN.tagger.load_morph_exceptions(morph_exc) tokens = EN('I like his style.', tag=True) his = tokens[2] - assert EN.tagger.tag_names[his.tag] == 'PRP$' + assert his.tag_ == 'PRP$' assert his.lemma_ == '-PRP-'