code: def test_wordvec_type():
      """
      If we supply our own wordvec type, get_wordvec_file should find that
      """
      with tempfile.TemporaryDirectory(
          dir=f"{TEST_WORKING_DIR}/out"
      ) as temp_dir:
          # make a fake directory for English word vectors
          google_dir = os.path.join(temp_dir, "google", "English")
          os.makedirs(google_dir)
  
          # make a fake English word vector file
          fake_file = os.path.join(google_dir, "en.vectors.txt")
          fout = open(fake_file, "w")
          fout.close()
  
          # get_wordvec_file should now find this fake file
          filename = utils.get_wordvec_file(
              wordvec_dir=temp_dir,
              shorthand="en_foo",
              wordvec_type="google",
          )
          assert filename == fake_file
  
          # this file won't be found using the normal defaults
          with pytest.raises(FileNotFoundError):
              utils.get_wordvec_file(
                  wordvec_dir=temp_dir, shorthand="en_foo"
              )
  
file_path: stanza/stanza/tests/common/test_utils.py
imports: import lzma
  import os
  import tempfile
  import pytest
  import stanza
  import stanza.models.common.utils
  from stanza.tests import *
label_desc: Use image node_id 4 for calling a global function with example usage: test_wordvec_type() without return types