From e4875834fe9e2c85c8e31efd0c4c7c868f7259ab Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Tue, 31 Jan 2017 15:19:33 +0100 Subject: [PATCH] Fix formatting --- spacy/tests/regression/test_issue792.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spacy/tests/regression/test_issue792.py b/spacy/tests/regression/test_issue792.py index a07059b6d..563e061a6 100644 --- a/spacy/tests/regression/test_issue792.py +++ b/spacy/tests/regression/test_issue792.py @@ -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