mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
* Fix unicode in test
This commit is contained in:
parent
77a61a8970
commit
bda5347c5c
|
@ -30,6 +30,6 @@ def test_save_unicode(sstore):
|
||||||
def test_retrieve_id(sstore):
|
def test_retrieve_id(sstore):
|
||||||
A_i = sstore[b'A']
|
A_i = sstore[b'A']
|
||||||
assert sstore.size == 1
|
assert sstore.size == 1
|
||||||
assert sstore[1] == b'A'
|
assert sstore[1] == 'A'
|
||||||
with pytest.raises(IndexError):
|
with pytest.raises(IndexError):
|
||||||
sstore[2]
|
sstore[2]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user