mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
Move regression test for #360 into own file
This commit is contained in:
parent
8279993a6f
commit
c6e5a5349d
14
spacy/tests/regression/test_issue360.py
Normal file
14
spacy/tests/regression/test_issue360.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
from __future__ import unicode_literals
|
||||
from ...en import English
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def en_tokenizer():
|
||||
return English.Defaults.create_tokenizer()
|
||||
|
||||
|
||||
def test_big_ellipsis(en_tokenizer):
|
||||
tokens = en_tokenizer(u'$45...............Asking')
|
||||
assert len(tokens) > 2
|
Loading…
Reference in New Issue
Block a user