code: def test_vectors_token_vector(tokenizer_v, vectors, text):
      doc = tokenizer_v(text)
      assert vectors[0][0] == doc[0].text
      assert all([a == b for a, b in zip(vectors[0][1], doc[0].vector)])
      assert vectors[1][0] == doc[2].text
      assert all([a == b for a, b in zip(vectors[1][1], doc[2].vector)])
  
imports: import numpy
  import pytest
  from numpy.testing import assert_allclose, assert_almost_equal, assert_equal
  from thinc.api import NumpyOps, get_current_ops
  from spacy.lang.en import English
  from spacy.strings import hash_string
  from spacy.tokenizer import Tokenizer
  from spacy.tokens import Doc
  from spacy.training.initialize import convert_vectors
  from spacy.vectors import Vectors
  from spacy.vocab import Vocab
  from ..util import add_vecs_to_vocab, get_cosine, make_tempdir
label_desc: Use image node_id 24 for calling a global function with example usage: test_vectors_token_vector(tokenizer_v, vectors, text) without return types