code: def test_rasterize_invalid_src_crs(tmpdir, runner, basic_feature):
      output = str(tmpdir.join("test.tif"))
      result = runner.invoke(
          main_group,
          [
              "rasterize",
              output,
              "--dimensions",
              DEFAULT_SHAPE[0],
              DEFAULT_SHAPE[1],
              "--src-crs",
              "foo:bar",
          ],
          input=json.dumps(basic_feature),
      )
  
      assert result.exit_code == 2
      assert "invalid CRS.  Must be an EPSG code." in result.output
  
imports: import json
  import os
  import numpy
  import rasterio
  from rasterio.rio.main import main_group
label_desc: Use image node_id 9 for calling a global function with example usage: test_rasterize_invalid_src_crs(tmpdir, runner, basic_feature) without return types