mirror of
https://github.com/explosion/spaCy.git
synced 2025-03-27 13:24:13 +03:00
8 lines
191 B
Python
8 lines
191 B
Python
from ...vectors import Vectors
|
|
|
|
def test_issue1518():
|
|
'''Test vectors.resize() works.'''
|
|
vectors = Vectors(shape=(10, 10))
|
|
vectors.add(u'hello', row=2)
|
|
vectors.resize((5, 9))
|