code: def test_image_file_handlers_close(tmpdir):
      path = write_sample_image(tmpdir)
      max_open_files, _ = resource.getrlimit(resource.RLIMIT_NOFILE)
      for i in range(max_open_files + 1):
          utils.load_img(path)
  
file_path: keras-preprocessing/tests/image/utils_test.py
imports: import io
  import resource
  from pathlib import Path
  import numpy
  import PIL
  import pytest
  from keras_preprocessing.image import utils
label_desc: Use image node_id 6 for calling a global function with example usage: test_image_file_handlers_close(tmpdir) without return types