code: def test_dimension_name_value_error():
      with pytest.raises(
          ValueError,
          match="Dimension's name must be one of: string, tuple, or .*",
      ):
          Real(0.3, 0.9, name=14)
  
imports: from hyperparameter_hunter import Real, Categorical, Integer
  from hyperparameter_hunter.feature_engineering import EngineerStep
  from hyperparameter_hunter.space.dimensions import RejectedOptional
  from hyperparameter_hunter.space.space_core import Space
  import pytest
  from sys import maxsize
label_desc: Use image node_id 2 for calling a global function with example usage: test_dimension_name_value_error() without return types