From ee927fbbb4faa6e3d7d50039199f63def3bde44e Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 15 Mar 2015 19:25:27 -0400 Subject: [PATCH] * Fix test_morph_exceptions --- tests/test_morph_exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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-'