From 20b8c3e28172678bf497cca394adec3fdef990d1 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 9 Oct 2015 13:58:01 +1100 Subject: [PATCH] * Mark tests that require models --- tests/website/test_api.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/website/test_api.py b/tests/website/test_api.py index 37a48794b..50ec73827 100644 --- a/tests/website/test_api.py +++ b/tests/website/test_api.py @@ -26,6 +26,7 @@ def test_main_entry_point(nlp): doc = nlp(b'Some text'.decode('utf8')) # Encode to unicode first. +@pytest.mark.models def test_sentence_spans(nlp): # from spacy.en import English # nlp = English() @@ -33,6 +34,7 @@ def test_sentence_spans(nlp): assert [s.root.orth_ for s in doc.sents] == ["is", "'s"] +@pytest.mark.models def test_entity_spans(nlp): # from spacy.en import English # nlp = English() @@ -44,6 +46,7 @@ def test_entity_spans(nlp): assert ents[0].string == ents[0].string +@pytest.mark.models def test_noun_chunk_spans(nlp): # from spacy.en import English # nlp = English()