code: def pubdev_1696():
      iris = h2o.import_file(
          pyunit_utils.locate("smalldata/iris/iris.csv")
      )
  
      try:
          H2OGradientBoostingEstimator(nfolds=-99).train(
              x=[0, 1, 2], y=3, training_frame=iris
          )
          assert False, "expected an error"
      except EnvironmentError:
          assert True
  
imports: import sys
  import h2o
  from tests import pyunit_utils
  from h2o.estimators.gbm import H2OGradientBoostingEstimator
label_desc: Use image node_id 1 for calling a global function with example usage: pubdev_1696() without return types