This commit is contained in:
Matthew Honnibal 2017-09-04 16:45:11 +02:00
parent 7fdafcc4c4
commit d5fbf27335

View File

@ -25,7 +25,6 @@ def test_tag_names(EN):
doc = EN(text, disable=['parser']) doc = EN(text, disable=['parser'])
assert type(doc[2].pos) == int assert type(doc[2].pos) == int
assert isinstance(doc[2].pos_, six.text_type) assert isinstance(doc[2].pos_, six.text_type)
assert type(doc[2].dep) == int
assert isinstance(doc[2].dep_, six.text_type) assert isinstance(doc[2].dep_, six.text_type)
assert doc[2].tag_ == u'NNS' assert doc[2].tag_ == u'NNS'