code: def test_edit_transform_gdal(data, runner):
      inputfile = str(data.join("RGB.byte.tif"))
      gdal_geotransform = (
          "[101985.0, 300.038, 0.0, 2826915.0, 0.0, -300.042]"
      )
      result = runner.invoke(
          main_group,
          ["edit-info", inputfile, "--transform", gdal_geotransform],
      )
      assert result.exit_code != 0
      assert "not recognized as an Affine array" in result.output
      assert gdal_geotransform 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 14 for calling a global function with example usage: test_edit_transform_gdal(data, runner) without return types