Format tests

This commit is contained in:
Adriane Boyd 2022-11-28 13:39:05 +01:00
parent 02aa627092
commit 0d344169af

View File

@ -736,10 +736,7 @@ def test_matcher_min_max_operator(en_vocab):
def test_matcher_non_greedy_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) matcher = Matcher(en_vocab)
pattern = [{"ORTH": "a", "OP": "*?"}, {"ORTH": "B", "OP": "+?"}] pattern = [{"ORTH": "a", "OP": "*?"}, {"ORTH": "B", "OP": "+?"}]
matcher.add("Non-greedy", [pattern]) matcher.add("Non-greedy", [pattern])