From 479b5cff430de8f85d7cba43a040110442a28c37 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Tue, 12 Mar 2019 13:35:34 +0100 Subject: [PATCH] Auto-format [ci skip] --- spacy/tests/test_displacy.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spacy/tests/test_displacy.py b/spacy/tests/test_displacy.py index 6d82bbbaa..2097fd081 100644 --- a/spacy/tests/test_displacy.py +++ b/spacy/tests/test_displacy.py @@ -73,6 +73,7 @@ def test_displacy_rtl(): assert "direction: rtl" in html assert 'lang="{}"'.format(nlp.lang) in html + def test_displacy_render_wrapper(en_vocab): """Test that displaCy accepts custom rendering wrapper.""" @@ -85,5 +86,5 @@ def test_displacy_render_wrapper(en_vocab): html = displacy.render(doc, style="ent") assert html.startswith("TESTTEST") - # Restore - displacy.set_render_wrapper(lambda html: html) \ No newline at end of file + # Restore + displacy.set_render_wrapper(lambda html: html)