From 1e1a1d9517c1723d196c902980e2ac831781d163 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sat, 15 Oct 2016 14:13:41 +0200 Subject: [PATCH] Update matcher test --- spacy/tests/matcher/test_matcher_bugfixes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/tests/matcher/test_matcher_bugfixes.py b/spacy/tests/matcher/test_matcher_bugfixes.py index 6816cb680..9b9fcc421 100644 --- a/spacy/tests/matcher/test_matcher_bugfixes.py +++ b/spacy/tests/matcher/test_matcher_bugfixes.py @@ -46,9 +46,9 @@ def test_overlap_issue242(): if os.environ.get('SPACY_DATA'): data_dir = os.environ.get('SPACY_DATA') else: - data_dir = None + data_dir = False - nlp = spacy.en.English(data_dir=data_dir, tagger=False, parser=False, entity=False) + nlp = spacy.en.English(path=data_dir, tagger=False, parser=False, entity=False) nlp.matcher.add('FOOD', 'FOOD', {}, patterns)