code: def test_saving_icc_profile(self, tmp_path):
      # Tests saving TIFF with icc_profile set.
      # At the time of writing this will only work for non-compressed tiffs
      # as libtiff does not support embedded ICC profiles,
      # ImageFile._save(..) however does.
      im = Image.new("RGB", (1, 1))
      im.info["icc_profile"] = "Dummy value"
  
      # Try save-load round trip to make sure both handle icc_profile.
      tmpfile = str(tmp_path / "temp.tif")
      im.save(tmpfile, "TIFF", compression="raw")
      with Image.open(tmpfile) as reloaded:
          assert b"Dummy value" == reloaded.info["icc_profile"]
  
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 54 for calling the TestFileTiff obj's underlying member method code with example usage: obj.test_saving_icc_profile(tmp_path) without return types