code: def test_cmyk_interp(tmpdir):
      """A CMYK TIFF has cyan, magenta, yellow, black bands."""
      with rasterio.open("tests/data/RGB.byte.tif") as src:
          profile = src.profile
  
      profile["photometric"] = "cmyk"
      profile["count"] = 4
  
      tiffname = str(tmpdir.join("foo.tif"))
      with rasterio.open(tiffname, "w", **profile) as dst:
          assert dst.profile["count"] == 4
          assert dst.colorinterp == (
              ColorInterp.cyan,
              ColorInterp.magenta,
              ColorInterp.yellow,
              ColorInterp.black,
          )
  
imports: import pytest
  import rasterio
  from rasterio.enums import ColorInterp
label_desc: Use image node_id 1 for calling a global function with example usage: test_cmyk_interp(tmpdir) without return types