mirror of https://github.com/explosion/spaCy.git
* Upd test for Python3
This commit is contained in:
parent
f841a32ff7
commit
166c09832f
|
@ -10,8 +10,8 @@ def EN():
|
|||
|
||||
def test_possess(EN):
|
||||
tokens = EN("Mike's")
|
||||
assert EN.vocab.strings[tokens[0].sic] == "Mike"
|
||||
assert EN.vocab.strings[tokens[1].sic] == "'s"
|
||||
assert EN.vocab.strings[tokens[0].sic] == b"Mike"
|
||||
assert EN.vocab.strings[tokens[1].sic] == b"'s"
|
||||
assert len(tokens) == 2
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue