code: def test_clip_bounds(runner, tmpdir, bounds):
      output = str(tmpdir.join("test.tif"))
      result = runner.invoke(
          main_group,
          ["clip", "tests/data/shade.tif", output, "--bounds", bounds],
      )
      assert result.exit_code == 0
      assert os.path.exists(output)
  
      with rasterio.open(output) as out:
          assert out.shape == (419, 173)
  
file_path: rasterio/tests/test_rio_clip.py
imports: import os
  import numpy
  import pytest
  import rasterio
  from rasterio.rio.main import main_group
label_desc: Use image node_id 2 for calling a global function with example usage: test_clip_bounds(runner, tmpdir, bounds) without return types