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 == []