diff --git a/spacy/tests/lang/en/test_lemmatizer.py b/spacy/tests/lang/en/test_lemmatizer.py index ec69f6a6d..e0893ba87 100644 --- a/spacy/tests/lang/en/test_lemmatizer.py +++ b/spacy/tests/lang/en/test_lemmatizer.py @@ -40,7 +40,8 @@ def test_en_lemmatizer_punct(en_lemmatizer): @pytest.mark.models('en') def test_en_lemmatizer_lemma_assignment(EN): text = "Bananas in pyjamas are geese." - doc = EN.tokenizer(text) + doc = EN.make_doc(text) + EN.tensorizer(doc) assert all(t.lemma_ == '' for t in doc) EN.tagger(doc) assert all(t.lemma_ != '' for t in doc) diff --git a/spacy/tests/lang/en/test_ner.py b/spacy/tests/lang/en/test_ner.py index 34fbbc898..73ea63218 100644 --- a/spacy/tests/lang/en/test_ner.py +++ b/spacy/tests/lang/en/test_ner.py @@ -26,6 +26,7 @@ def test_en_ner_consistency_bug(EN): EN.entity(tokens) +@pytest.mark.skip @pytest.mark.models('en') def test_en_ner_unit_end_gazetteer(EN): '''Test a bug in the interaction between the NER model and the gazetteer'''