code: def test_like_band_count_mismatch(runner, data):
      """Ensure a mismatch in the number of bands for '--colorinterp like' and
      the target image raises an exception.
      """
      # Isolate to avoid potential '.aux.xml' creation.
      rgba = str(data.join("RGBA.byte.tif"))
      rgb = str(data.join("RGB.byte.tif"))
      result = runner.invoke(
          main_group,
          ["edit-info", rgb, "--colorinterp", "like", "--like", rgba],
      )
      assert result.exit_code != 0
      assert (
          "When using '--like' for color interpretation"
          in result.output
      )
  
imports: import json
  import click
  import numpy
  import pytest
  import rasterio
  from rasterio.enums import ColorInterp
  from rasterio.rio.edit_info import all_handler, crs_handler, tags_handler, transform_handler, colorinterp_handler
  from rasterio.rio.main import main_group
  import rasterio.shutil
label_desc: Use image node_id 32 for calling a global function with example usage: test_like_band_count_mismatch(runner, data) without return types