code: def test_custom_metric_computation_together_with_eval_metric():
      params = {"eval_metric": "error@0.6"}
      try:
          binomial_model(H2OXGBoostEstimator, custom_rmse_mm(), params)
          raise "Should fail"
      except H2OResponseError as e:
          assert (
              "Custom metric is not supported together with eval_metric parameter"
              in str(e)
          )
  
file_path: h2o-3/h2o-py/tests/testdir_algos/xgboost/pyunit_xgboost_custom_metric.py
imports: import sys
  import h2o
  from tests import pyunit_utils
  from tests.pyunit_utils import CustomMaeFunc, CustomRmseFunc, assert_correct_custom_metric, regression_model, multinomial_model, binomial_model
  from h2o.estimators import H2OXGBoostEstimator
  from h2o.exceptions import H2OResponseError
label_desc: Use image node_id 5 for calling a global function with example usage: test_custom_metric_computation_together_with_eval_metric() without return types