code: def test_handling_unexpected_alias_metrics() -> None:
      with pytest.raises(ValueError):
          _handling_alias_metrics({"metric": 1})
  
file_path: optuna/tests/integration_tests/lightgbm_tuner_tests/test_alias.py
imports: from typing import List
  import pytest
  from optuna.integration._lightgbm_tuner.alias import _handling_alias_metrics
  from optuna.integration._lightgbm_tuner.alias import _handling_alias_parameters
label_desc: Use image node_id 6 for calling a global function with example usage: test_handling_unexpected_alias_metrics() without return types