code: def test_download_successful(tmpdir):
      """test download with one process"""
      tmp = str(tmpdir)
      tmpfile = os.path.join(tmp, "README.md")
      _download_successful(tmpfile)
      assert os.path.getsize(tmpfile) > 100, os.path.getsize(tmpfile)
      pattern = os.path.join(tmp, "README.md*")
      # check only one file we want left
      assert len(glob.glob(pattern)) == 1, glob.glob(pattern)
      # delete temp dir
      shutil.rmtree(tmp)
  
file_path: mxnet/tests/python/unittest/test_gluon_utils.py
imports: import io
  import os
  import warnings
  import glob
  import shutil
  import multiprocessing
  import mxnet
  import requests
  import pytest
label_desc: Use image node_id 3 for calling a global function with example usage: test_download_successful(tmpdir) without return types