code: def test_get_with_conditional_scopes():
      hp = hp_module.HyperParameters()
      hp.Choice("a", [1, 2, 3], default=2)
      assert hp.get("a") == 2
      with hp.conditional_scope("a", 2):
          hp.Fixed("b", 4)
          assert hp.get("b") == 4
          assert hp.get("a") == 2
      with hp.conditional_scope("a", 3):
          hp.Fixed("b", 5)
          assert hp.get("b") == 4
  
      # Value corresponding to the currently active condition is returned.
      assert hp.get("b") == 4
  
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 12 for calling a global function with example usage: test_get_with_conditional_scopes() without return types