code: def test_lambda_warning():
      training_data = h2o.import_file(
          pyunit_utils.locate("smalldata/gbm_test/BostonHousing.csv")
      )
      Y = 13
      X = list(range(13))
      model = H2OGeneralizedLinearEstimator(
          family="Gaussian", lambda_search=True, Lambda=[0.01]
      )
      model.train(x=X, y=Y, training_frame=training_data)
  
      with pyunit_utils.catch_warnings() as ws:
          model = H2OGeneralizedLinearEstimator(
              family="Gaussian", lambda_search=True, Lambda=[0.01]
          )
          model.train(x=X, y=Y, training_frame=training_data)
  
          assert pyunit_utils.contains_warning(
              ws, "disabled when user specified any lambda value(s)"
          )
  
imports: from builtins import range
  import sys
  import h2o
  from h2o.estimators.glm import H2OGeneralizedLinearEstimator
  from tests import pyunit_utils
label_desc: Use image node_id 1 for calling a global function with example usage: test_lambda_warning() without return types