mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-12 09:12:21 +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 tokens.count_by(attrs.ORTH) == {3699: 2, 3750: 1, 5965: 1}
|
||||||
assert repr(tokens.to_array([attrs.ORTH])) == repr(numpy.array([[2529],
|
assert repr(tokens.to_array([attrs.ORTH])) == repr(numpy.array([[2529],
|
||||||
[2529],
|
[2529],
|
||||||
[4117],
|
[3750],
|
||||||
[6650]], dtype=numpy.int32))
|
[5965]], dtype=numpy.int32))
|
||||||
|
|
||||||
@pytest.mark.models
|
@pytest.mark.models
|
||||||
def test_read_bytes(nlp):
|
def test_read_bytes(nlp):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user