From 64e5f02cf7d903822f73b8a0b581aa738799ec6c Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 23 Oct 2016 21:08:07 +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 e246a39ff..70946ec74 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=nlp) + nlp.matcher = Matcher(nlp.vocab) nlp.matcher.add('FOOD', 'FOOD', {}, patterns)