code: def test_contrast_range_receive_string_raise_error():
      with pytest.raises(ValueError, match="must be int or float"):
          hp = hp_module.HyperParameters()
          hm = aug_module.HyperImageAugment(
              input_shape=(32, 32, 3),
              augment_layers=[1, 2],
              contrast=[0.5, "a"],
          )
          hm.build(hp)
  
file_path: keras-tuner/keras_tuner/applications/augment_test.py
imports: import numpy
  import pytest
  from keras_tuner.applications import augment
  from keras_tuner.backend import config
  from keras_tuner.backend import keras
  from keras_tuner.engine import hyperparameters
label_desc: Use image node_id 11 for calling a global function with example usage: test_contrast_range_receive_string_raise_error() without return types