code: def test_fasttext_txt():
      """
      Test searching for fasttext and txt files
      """
      with tempfile.TemporaryDirectory(
          dir=f"{TEST_WORKING_DIR}/out"
      ) as temp_dir:
          # make a fake directory for English word vectors
          fasttext_dir = os.path.join(temp_dir, "fasttext", "English")
          os.makedirs(fasttext_dir)
  
          # make a fake English word vector file
          fake_file = os.path.join(fasttext_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"
          )
          assert filename == fake_file
  
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 3 for calling a global function with example usage: test_fasttext_txt() without return types