mirror of https://github.com/explosion/spaCy.git
parent
c4f16c66d1
commit
8dff040032
|
@ -1,13 +0,0 @@
|
||||||
# encoding: utf8
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.xfail
|
|
||||||
@pytest.mark.parametrize('text', ["aaabbb@ccc.com\nThank you!"])
|
|
||||||
def test_issue859(en_tokenizer, text):
|
|
||||||
"""Test that no extra space is added in doc.text method."""
|
|
||||||
doc = en_tokenizer(text)
|
|
||||||
assert ' ' not in doc.text
|
|
||||||
assert doc.text == text
|
|
Loading…
Reference in New Issue