code: def test_successive_halving_pruner_with_invalid_str_to_min_resource() -> (
      None
  ):
      with pytest.raises(ValueError):
          optuna.pruners.SuccessiveHalvingPruner(min_resource="fixed")
  
file_path: optuna/tests/pruners_tests/test_successive_halving.py
imports: from typing import Tuple
  import pytest
  import optuna
label_desc: Use image node_id 6 for calling a global function with example usage: test_successive_halving_pruner_with_invalid_str_to_min_resource() without return types