From 3ea15b257fb9a825c9d828039c664c59fe263334 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 6 Nov 2016 11:59:26 +0100 Subject: [PATCH] Fix test for 605 --- spacy/tests/regression/test_issue605.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/tests/regression/test_issue605.py b/spacy/tests/regression/test_issue605.py index 9e299690d..64373950e 100644 --- a/spacy/tests/regression/test_issue605.py +++ b/spacy/tests/regression/test_issue605.py @@ -17,8 +17,8 @@ def test_matcher_accept(): ] matcher = Matcher(doc.vocab) - matcher.add_entity('Sport_Equipment', acceptor=return_false) - matcher.add_pattern("Sport_Equipment", golf_pattern) + matcher.add_entity(u'Sport_Equipment', acceptor=return_false) + matcher.add_pattern(u"Sport_Equipment", golf_pattern) match = matcher(doc) assert match == []