code: def test_multiload():
      # Make a tiny image, save, load many times.  If we are leaking filehandles,
      # this will cause us to run out and generate an error
      N = SOFT_LIMIT + 100
      arr = np.arange(24, dtype="int32").reshape((2, 3, 4))
      img = Nifti1Image(arr, np.eye(4))
      imgs = []
      try:
          tmpdir = mkdtemp()
          fname = pjoin(tmpdir, "test.img")
          save(img, fname)
          for i in range(N):
              imgs.append(load(fname))
      finally:
          del img, imgs
          shutil.rmtree(tmpdir)
  
file_path: nibabel/nibabel/tests/test_filehandles.py
imports: import shutil
  import unittest
  from os.path import join
  from tempfile import mkdtemp
  import numpy
  from ..loadsave import load, save
  from ..nifti1 import Nifti1Image
label_desc: Use image node_id 1 for calling a global function with example usage: test_multiload() without return types