code: def test_close_on_load_exclusive(self, tmp_path):
      # similar to test_fd_leak, but runs on unixlike os
      tmpfile = str(tmp_path / "temp.tif")
  
      with Image.open("Tests/images/uint16_1_4660.tif") as im:
          im.save(tmpfile)
  
      im = Image.open(tmpfile)
      fp = im.fp
      assert not fp.closed
      im.load()
      assert fp.closed
  
imports: import os
  from io import BytesIO
  import pytest
  from PIL import Image, ImageFile, TiffImagePlugin
  from PIL.TiffImagePlugin import RESOLUTION_UNIT, X_RESOLUTION, Y_RESOLUTION
  from .helper import assert_image_equal, assert_image_equal_tofile, assert_image_similar, assert_image_similar_tofile, hopper, is_pypy, is_win32
label_desc: Use image node_id 58 for calling the TestFileTiff obj's underlying member method code with example usage: obj.test_close_on_load_exclusive(tmp_path) without return types