mirror of
https://github.com/explosion/spaCy.git
synced 2025-05-02 14:53:41 +03:00
failing test for Issue #3521
This commit is contained in:
parent
1424b12b09
commit
e7062cf699
20
spacy/tests/regression/test_issue3521.py
Normal file
20
spacy/tests/regression/test_issue3521.py
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
import pytest
|
||||||
|
|
||||||
|
from spacy.lang.en import English
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.parametrize(
|
||||||
|
"word",
|
||||||
|
[
|
||||||
|
"don't",
|
||||||
|
"don’t",
|
||||||
|
"I'd",
|
||||||
|
"I’d",
|
||||||
|
],
|
||||||
|
)
|
||||||
|
def test_issue3521(fr_tokenizer, word):
|
||||||
|
nlp = English()
|
||||||
|
|
||||||
|
tok = nlp(word)[1]
|
||||||
|
assert tok.is_stop
|
||||||
|
|
Loading…
Reference in New Issue
Block a user