code: def test_gridsearch_error():
      test_gam_grid = test_gam_gridsearch_error()
      test_gam_grid.train_models()
      test_gam_grid.match_models()
  
file_path: h2o-3/h2o-py/tests/testdir_algos/gam/pyunit_PUBDEV_8398_gridsearch_error.py
imports: from past.utils import old_div
  import sys
  import h2o
  from tests import pyunit_utils
  from h2o.estimators.gam import H2OGeneralizedAdditiveEstimator
  from h2o.grid.grid_search import H2OGridSearch
label_desc: Use image node_id 1 for calling a global function with example usage: test_gridsearch_error() without return types