Merge token tests into token API tests

This commit is contained in:
Ines Montani 2017-01-11 13:57:02 +01:00
parent eb23424ab0
commit d94dea1b18

View File

@ -1,11 +0,0 @@
from __future__ import unicode_literals
import pytest
from spacy.parts_of_speech import ADV
@pytest.mark.models
def test_prob(EN):
tokens = EN(u'Give it back', parse=False)
give = tokens[0]
assert give.prob != 0