From 102f7979338b948744b6af06689f928deb72f27c Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 6 Nov 2017 17:02:17 +0100 Subject: [PATCH] Fix lemma ordering in test --- spacy/tests/regression/test_issue781.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/tests/regression/test_issue781.py b/spacy/tests/regression/test_issue781.py index 2c77e68cd..ace7434bc 100644 --- a/spacy/tests/regression/test_issue781.py +++ b/spacy/tests/regression/test_issue781.py @@ -6,7 +6,7 @@ import pytest # Note: "chromosomes" worked previous the bug fix @pytest.mark.models('en') -@pytest.mark.parametrize('word,lemmas', [("chromosomes", ["chromosome"]), ("endosomes", ["endosome"]), ("colocalizes", ["colocalize", "colocaliz"])]) +@pytest.mark.parametrize('word,lemmas', [("chromosomes", ["chromosome"]), ("endosomes", ["endosome"]), ("colocalizes", ["colocaliz", "colocalize"])]) def test_issue781(EN, word, lemmas): lemmatizer = EN.Defaults.create_lemmatizer() assert lemmatizer(word, 'noun', morphology={'number': 'plur'}) == lemmas