From 793890cb4d5f400d950edaff49c833a8cf8069d3 Mon Sep 17 00:00:00 2001 From: ines Date: Sun, 14 Jan 2018 17:31:06 +0100 Subject: [PATCH] Remove test for removed deprecation warning --- spacy/tests/doc/test_token_api.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/spacy/tests/doc/test_token_api.py b/spacy/tests/doc/test_token_api.py index ec5c32a79..e81d5b7be 100644 --- a/spacy/tests/doc/test_token_api.py +++ b/spacy/tests/doc/test_token_api.py @@ -160,8 +160,5 @@ def test_is_sent_start(en_tokenizer): assert doc[5].is_sent_start is None doc[5].is_sent_start = True assert doc[5].is_sent_start is True - # Backwards compatibility - with pytest.warns(DeprecationWarning): - assert doc[0].sent_start is False doc.is_parsed = True assert len(list(doc.sents)) == 2