mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-27 18:36:36 +03:00
1f7229f40f
This reverts commitc9ba3d3c2d
, reversing changes made to92c26a35d4
.
12 lines
326 B
Python
12 lines
326 B
Python
# 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)
|