diff --git a/spacy/tests/test_displacy.py b/spacy/tests/test_displacy.py index 13144e0d8..280ff31bb 100644 --- a/spacy/tests/test_displacy.py +++ b/spacy/tests/test_displacy.py @@ -618,6 +618,8 @@ def test_pprint_render_custom_attributes(horse_doc): with pytest.raises(AttributeError): AttributeFormat("._depp").render(horse_doc[2]) + Token.remove_extension("test") + def test_pprint_minimal_render_table_one_sentence( fully_featured_doc_one_sentence,