code: def test_error_when_hp_same_name_as_condition():
      hp = hp_module.HyperParameters()
      hp.Choice("a", [1, 2, 3], default=3)
      with pytest.raises(ValueError, match="cannot have the same name"):
          with hp.conditional_scope("a", [1, 3]):
              hp.Choice("a", [4, 5, 6], default=6)
  
imports: import pytest
  from keras_tuner import protos
  from keras_tuner.backend import keras
  from keras_tuner.engine import hyperparameters
label_desc: Use image node_id 10 for calling a global function with example usage: test_error_when_hp_same_name_as_condition() without return types