* Python3 fix for test_tag_names

This commit is contained in:
Matthew Honnibal 2015-02-01 13:14:20 +11:00
parent 76d9394cb4
commit 1f31774078
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ def test_tag_names():
tokens = nlp(u'I ate pizzas with anchovies.', parse=True, tag=True)
pizza = tokens[2]
assert type(pizza.pos) == int
assert type(pizza.pos_) == unicode
assert type(pizza.pos_) == str
assert type(pizza.dep) == int
assert type(pizza.dep_) == unicode
assert type(pizza.dep_) == str
assert pizza.tag_ == u'NNS'