mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 12:18:04 +03:00
11 lines
247 B
Python
11 lines
247 B
Python
# coding: utf8
|
|
from __future__ import unicode_literals
|
|
|
|
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))
|