code: def test_insp_err(runner):
      result = runner.invoke(main_group, ["insp", "tests"])
      assert result.exit_code != 0
  
file_path: rasterio/tests/test_rio_insp.py
imports: import numpy
  import pytest
  import rasterio
  from rasterio.rio.main import main_group
  from rasterio.rio.insp import stats
label_desc: Use image node_id 2 for calling a global function with example usage: test_insp_err(runner) without return types