diff --git a/tests/test_tag_names.py b/tests/test_tag_names.py index 0312ef011..17d005d1f 100644 --- a/tests/test_tag_names.py +++ b/tests/test_tag_names.py @@ -6,7 +6,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 isinstance(pizza.pos_, six.text_types) + assert isinstance(pizza.pos_, six.text_type) assert type(pizza.dep) == int - assert isinstance(pizza.dep_, six.text_types) + assert isinstance(pizza.dep_, six.text_type) assert pizza.tag_ == u'NNS'