Fix test for 605

This commit is contained in:
Matthew Honnibal 2016-11-06 11:59:26 +01:00
parent 36bcd46244
commit 3ea15b257f

View File

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