code: def test_get_hyperparameter_with_none_return_hp():
      hp = utils.get_hyperparameter(
          None, hyperparameters.Choice("hp", [10, 20]), int
      )
      assert isinstance(hp, hyperparameters.Choice)
  
file_path: autokeras/autokeras/utils/utils_test.py
imports: import numpy
  import pytest
  import tensorflow
  from keras_tuner.engine import hyperparameters
  from autokeras.utils import utils
label_desc: Use image node_id 5 for calling a global function with example usage: test_get_hyperparameter_with_none_return_hp() without return types