From 0d344169af67ab1e3dee1a443f3ad2068b3ca75c Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Mon, 28 Nov 2022 13:39:05 +0100 Subject: [PATCH] Format tests --- spacy/tests/matcher/test_matcher_api.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/spacy/tests/matcher/test_matcher_api.py b/spacy/tests/matcher/test_matcher_api.py index b3ed5a362..cf3a65e02 100644 --- a/spacy/tests/matcher/test_matcher_api.py +++ b/spacy/tests/matcher/test_matcher_api.py @@ -736,10 +736,7 @@ def test_matcher_min_max_operator(en_vocab): def test_matcher_non_greedy_operator(en_vocab): - - doc = Doc( - en_vocab, words=["a", "a", "a", "B", "B", "a", "B"] - ) + doc = Doc(en_vocab, words=["a", "a", "a", "B", "B", "a", "B"]) matcher = Matcher(en_vocab) pattern = [{"ORTH": "a", "OP": "*?"}, {"ORTH": "B", "OP": "+?"}] matcher.add("Non-greedy", [pattern])