mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 09:26:27 +03:00
Fix formatting
This commit is contained in:
parent
c304834e45
commit
e4875834fe
|
@ -3,9 +3,10 @@ from __future__ import unicode_literals
|
|||
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.mark.xfail
|
||||
@pytest.mark.parametrize('text', ["This is a string ", "This is a string\u0020"])
|
||||
def test_issue792(en_tokenizer, text):
|
||||
"""Test for Issue #792: Trailing whitespace is removed after parsing."""
|
||||
doc = en_tokenizer(text)
|
||||
assert(doc.text_with_ws == text)
|
||||
assert doc.text_with_ws == text
|
||||
|
|
Loading…
Reference in New Issue
Block a user