def METHOD_NAME(runner, pixelated_image_file):
    result = runner.invoke(
        main_group, ['shapes', '--collection', pixelated_image_file, '--bidx', 4])
    assert result.exit_code == 1
    # Underlying exception message trapped by shapes