From 525f7988416f9d944f5993a793f999f91e8685f8 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Fri, 9 Oct 2020 18:00:21 +0200 Subject: [PATCH] Fix typo in test --- spacy/tests/pipeline/test_pipe_methods.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/tests/pipeline/test_pipe_methods.py b/spacy/tests/pipeline/test_pipe_methods.py index b744aed98..6a21ddfaa 100644 --- a/spacy/tests/pipeline/test_pipe_methods.py +++ b/spacy/tests/pipeline/test_pipe_methods.py @@ -142,7 +142,7 @@ def test_disable_pipes_context_restore(nlp, name): """Test that a disabled component stays disabled after running the context manager.""" nlp.add_pipe("new_pipe", name=name) assert nlp.has_pipe(name) - nlp.disable_pipes(name) + nlp.disable_pipe(name) assert not nlp.has_pipe(name) with nlp.select_pipes(disable=name): assert not nlp.has_pipe(name)