code: def test_shapes_invalid_bidx(runner, pixelated_image_file):
      result = runner.invoke(
          main_group,
          ["shapes", "--collection", pixelated_image_file, "--bidx", 4],
      )
  
      assert result.exit_code == 1
  
file_path: rasterio/tests/test_rio_shapes.py
imports: import json
  import re
  import numpy
  import pytest
  import rasterio
  from rasterio.rio.main import main_group
label_desc: Use image node_id 3 for calling a global function with example usage: test_shapes_invalid_bidx(runner, pixelated_image_file) without return types