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])