From 17849dee4bfb65a792e81d6d0bede05bb91d6102 Mon Sep 17 00:00:00 2001 From: ines Date: Mon, 20 Nov 2017 13:59:59 +0100 Subject: [PATCH] Fix French test (see #1617) --- spacy/tests/lang/fr/test_lemmatization.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/tests/lang/fr/test_lemmatization.py b/spacy/tests/lang/fr/test_lemmatization.py index bcd8d4600..15da5b7d4 100644 --- a/spacy/tests/lang/fr/test_lemmatization.py +++ b/spacy/tests/lang/fr/test_lemmatization.py @@ -21,7 +21,7 @@ def test_lemmatizer_noun_verb_2(FR): @pytest.mark.models('fr') @pytest.mark.xfail(reason="Costaricienne TAG is PROPN instead of NOUN and spacy don't lemmatize PROPN") -def test_lemmatizer_noun(model): +def test_lemmatizer_noun(FR): tokens = FR("il y a des Costaricienne.") assert tokens[4].lemma_ == "Costaricain"