From bf98eb240c1058bed7d53831fc4d562617ecf8fd Mon Sep 17 00:00:00 2001 From: svlandeg Date: Thu, 6 Jul 2023 12:37:08 +0200 Subject: [PATCH] remove old redundant test case --- spacy/tests/pipeline/test_pipe_methods.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/spacy/tests/pipeline/test_pipe_methods.py b/spacy/tests/pipeline/test_pipe_methods.py index 4c0088804..ce201a65a 100644 --- a/spacy/tests/pipeline/test_pipe_methods.py +++ b/spacy/tests/pipeline/test_pipe_methods.py @@ -421,8 +421,6 @@ def test_add_pipe_before_after(): nlp.add_pipe("entity_ruler", before="ner", after=2) with pytest.raises(ValueError): nlp.add_pipe("entity_ruler", before=True) - with pytest.raises(ValueError): - nlp.add_pipe("entity_ruler", first=False) def test_disable_enable_pipes():