Add more test cases to #775 regression test to cover #847

This commit is contained in:
ines 2017-02-18 14:10:41 +01:00
parent 30ce2a6793
commit 67991b6e5f

View File

@ -4,7 +4,7 @@ from __future__ import unicode_literals
import pytest
@pytest.mark.parametrize('text', ["Shell", "shell"])
@pytest.mark.parametrize('text', ["Shell", "shell", "Shed", "shed"])
def test_issue775(en_tokenizer, text):
"""Test that 'Shell' and 'shell' are excluded from the contractions
generated by the English tokenizer exceptions."""