mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-13 10:46:29 +03:00
* Fix test
This commit is contained in:
parent
00ae3edd3a
commit
63df729edd
|
@ -69,8 +69,8 @@ def test_count_by(nlp):
|
|||
assert tokens.count_by(attrs.ORTH) == {3699: 2, 3750: 1, 5965: 1}
|
||||
assert repr(tokens.to_array([attrs.ORTH])) == repr(numpy.array([[2529],
|
||||
[2529],
|
||||
[4117],
|
||||
[6650]], dtype=numpy.int32))
|
||||
[3750],
|
||||
[5965]], dtype=numpy.int32))
|
||||
|
||||
@pytest.mark.models
|
||||
def test_read_bytes(nlp):
|
||||
|
|
Loading…
Reference in New Issue
Block a user