From 8f45ff3dc2e3e4ac51abe72dfe67dc7b1aac9e7c Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Mon, 11 Mar 2019 00:47:41 +0100 Subject: [PATCH] Adjust formatting [ci skip] --- spacy/tests/regression/test_issue2001-2500.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/spacy/tests/regression/test_issue2001-2500.py b/spacy/tests/regression/test_issue2001-2500.py index 81b7afa87..ed1c89671 100644 --- a/spacy/tests/regression/test_issue2001-2500.py +++ b/spacy/tests/regression/test_issue2001-2500.py @@ -12,12 +12,14 @@ from spacy.lang.en import English from ..util import add_vecs_to_vocab, get_doc -@pytest.mark.xfail( - reason="The dot is now properly split off, but the prefix/suffix rules are not applied again afterwards." - "This means that the quote will still be attached to the remaining token." -) +@pytest.mark.xfail def test_issue2070(): - """Test that checks that a dot followed by a quote is handled appropriately.""" + """Test that checks that a dot followed by a quote is handled + appropriately. + """ + # Problem: The dot is now properly split off, but the prefix/suffix rules + # are not applied again afterwards. This means that the quote will still be + # attached to the remaining token. nlp = English() doc = nlp('First sentence."A quoted sentence" he said ...') assert len(doc) == 11