mirror of https://github.com/explosion/spaCy.git
Add test for issue #1889
This commit is contained in:
parent
6a8cb905aa
commit
52ef51f36e
|
@ -0,0 +1,11 @@
|
|||
# coding: utf-8
|
||||
from __future__ import unicode_literals
|
||||
from ...lang.lex_attrs import is_stop
|
||||
from ...lang.en.stop_words import STOP_WORDS
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.mark.parametrize('word', ['the'])
|
||||
def test_lex_attrs_stop_words_case_sensitivity(word):
|
||||
assert is_stop(word, STOP_WORDS) == is_stop(word.upper(), STOP_WORDS)
|
Loading…
Reference in New Issue