code: def test_incompatibility_between_bootstrap_count_and_auto_max_resource() -> (
      None
  ):
      with pytest.raises(ValueError):
          optuna.pruners.HyperbandPruner(
              max_resource="auto", bootstrap_count=1
          )
  
file_path: optuna/tests/pruners_tests/test_hyperband.py
imports: from typing import Callable
  from unittest import mock
  import numpy
  import pytest
  import optuna
label_desc: Use image node_id 8 for calling a global function with example usage: test_incompatibility_between_bootstrap_count_and_auto_max_resource() without return types