From c0a63ac15749e88904fc652822a9599876b72961 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 21 Sep 2015 19:23:38 +1000 Subject: [PATCH] * Mark SBD tests as requiring models --- tests/parser/test_sbd.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/parser/test_sbd.py b/tests/parser/test_sbd.py index 6c6249108..57a79525f 100644 --- a/tests/parser/test_sbd.py +++ b/tests/parser/test_sbd.py @@ -3,6 +3,7 @@ from __future__ import unicode_literals import pytest +@pytest.mark.models def test_single_period(EN): string = 'A test sentence.' words = EN(string) @@ -11,6 +12,7 @@ def test_single_period(EN): assert sum(len(sent) for sent in words.sents) == len(words) +@pytest.mark.models def test_single_no_period(EN): string = 'A test sentence' words = EN(string) @@ -19,6 +21,7 @@ def test_single_no_period(EN): assert sum(len(sent) for sent in words.sents) == len(words) +@pytest.mark.models def test_single_exclamation(EN): string = 'A test sentence!' words = EN(string) @@ -27,6 +30,7 @@ def test_single_exclamation(EN): assert sum(len(sent) for sent in words.sents) == len(words) +@pytest.mark.models def test_single_question(EN): string = 'A test sentence?' words = EN(string, tag=False, parse=False)