From 66d7a6eca2c3748ecdeab32dd8dcc968242a7e0a Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 23 Oct 2016 21:02:05 +0200 Subject: [PATCH] Update test --- spacy/tests/matcher/test_matcher_bugfixes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/tests/matcher/test_matcher_bugfixes.py b/spacy/tests/matcher/test_matcher_bugfixes.py index e2cbc5c18..e246a39ff 100644 --- a/spacy/tests/matcher/test_matcher_bugfixes.py +++ b/spacy/tests/matcher/test_matcher_bugfixes.py @@ -49,7 +49,7 @@ def test_overlap_issue242(): data_dir = None nlp = spacy.en.English(path=data_dir, tagger=False, parser=False, entity=False) - nlp.matcher = spacy.en.English.Defaults.create_matcher() + nlp.matcher = spacy.en.English.Defaults.create_matcher(nlp=nlp) nlp.matcher.add('FOOD', 'FOOD', {}, patterns)