code: def test_bad_modeling_plan_using_simplified_syntax():
      try:
          H2OAutoML(modeling_plan=[["GBM"]])
      except h2o.exceptions.H2OTypeError:
          pass
  
      try:
          H2OAutoML(modeling_plan=[("GBM", "defaults", ["def_1"])])
      except AssertionError:
          pass
  
      try:
          H2OAutoML(modeling_plan=[("GBM", "dummy_alias")])
      except h2o.exceptions.H2OTypeError:
          pass
  
      try:
          H2OAutoML(modeling_plan=[("GBM", ("def_1", "def_2"))])
      except h2o.exceptions.H2OTypeError:
          pass
  
file_path: h2o-3/h2o-py/tests/testdir_algos/automl/pyunit_automl_modeling_plan.py
imports: import sys, os
  import h2o
  import h2o.exceptions
  from h2o.automl import H2OAutoML
  from tests import pyunit_utils
  from _automl_utils import import_dataset, get_partitioned_model_names
label_desc: Use image node_id 2 for calling a global function with example usage: test_bad_modeling_plan_using_simplified_syntax() without return types