mirror of https://github.com/explosion/spaCy.git
Remove deprecated tokens_from_list test.
This commit is contained in:
parent
04fe18d23d
commit
b6b01d4680
|
@ -1,9 +0,0 @@
|
||||||
from __future__ import unicode_literals
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
|
|
||||||
def test1(en_tokenizer):
|
|
||||||
words = ['JAPAN', 'GET', 'LUCKY']
|
|
||||||
tokens = en_tokenizer.tokens_from_list(words)
|
|
||||||
assert len(tokens) == 3
|
|
||||||
assert tokens[0].orth_ == 'JAPAN'
|
|
Loading…
Reference in New Issue