mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +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):
|
||||
A_i = sstore[b'A']
|
||||
assert sstore.size == 1
|
||||
assert sstore[1] == b'A'
|
||||
assert sstore[1] == 'A'
|
||||
with pytest.raises(IndexError):
|
||||
sstore[2]
|
||||
|
|
Loading…
Reference in New Issue
Block a user