mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-24 16:24:16 +03:00
Fix matcher test
This commit is contained in:
parent
63393b4e0d
commit
c29927d2e7
|
@ -195,7 +195,7 @@ def test_operator_combos(matcher):
|
|||
('aaa', 'a+ a a b', False),
|
||||
('aaab', 'a+ a a', True),
|
||||
('aaab', 'a+', True),
|
||||
('aaab', 'a+ a b', False), # <-- This is the weird semantics
|
||||
('aaab', 'a+ a b', True),
|
||||
]
|
||||
for string, pattern_str, result in cases:
|
||||
matcher = Matcher(matcher.vocab)
|
||||
|
|
Loading…
Reference in New Issue
Block a user