code: def test_ycbcr_interp(tmpdir):
      """A YCbCr TIFF has red, green, blue bands."""
      with rasterio.open("tests/data/RGB.byte.tif") as src:
          meta = src.meta
      meta["photometric"] = "ycbcr"
      meta["compress"] = "jpeg"
      meta["count"] = 3
      tiffname = str(tmpdir.join("foo.tif"))
      with rasterio.open(tiffname, "w", **meta) as dst:
          assert dst.colorinterp == (
              ColorInterp.red,
              ColorInterp.green,
              ColorInterp.blue,
          )
  
imports: import pytest
  import rasterio
  from rasterio.enums import ColorInterp
label_desc: Use image node_id 2 for calling a global function with example usage: test_ycbcr_interp(tmpdir) without return types