code: def test_rasterize_invalid_stdin(tmpdir, runner):
      """Invalid value for stdin should fail with exception"""
  
      output = str(tmpdir.join("test.tif"))
      result = runner.invoke(
          main_group, ["rasterize", output], input="BOGUS"
      )
  
      assert result.exit_code
  
imports: import json
  import os
  import numpy
  import rasterio
  from rasterio.rio.main import main_group
label_desc: Use image node_id 18 for calling a global function with example usage: test_rasterize_invalid_stdin(tmpdir, runner) without return types