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("TEST