From 00c1992503203eb4f20a54841d6b59b3ce5da7dc Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 9 Oct 2015 14:48:14 +1100 Subject: [PATCH] * Mark tests that require models --- tests/website/test_home.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/website/test_home.py b/tests/website/test_home.py index 7d822d377..6c97b0f31 100644 --- a/tests/website/test_home.py +++ b/tests/website/test_home.py @@ -22,6 +22,7 @@ def test_get_tokens_and_sentences(doc): assert sentence.text == 'Hello, world.' +@pytest.mark.models def test_use_integer_ids_for_any_strings(nlp, token): hello_id = nlp.vocab.strings['Hello'] hello_str = nlp.vocab.strings[hello_id] @@ -68,6 +69,7 @@ def test_word_vectors(nlp): assert apples.similarity(oranges) > boots.similarity(hippos) +@pytest.mark.models def test_part_of_speech_tags(nlp): from spacy.parts_of_speech import ADV