code: def test_regresion_model(diabetes_split_dataset_and_model):
      # Assert
      train, _, clf = diabetes_split_dataset_and_model
      assert_that(
          calling(CalibrationScore().run).with_args(train, clf),
          raises(
              ModelValidationError,
              "Check is irrelevant for regression tasks",
          ),
      )
  
file_path: deepchecks/tests/tabular/checks/model_evaluation/calibration_score_test.py
imports: from hamcrest import assert_that, calling, close_to, greater_than, has_entries, has_length, raises
  from deepchecks.core.errors import DeepchecksNotSupportedError, DeepchecksValueError, ModelValidationError
  from deepchecks.tabular.checks.model_evaluation import CalibrationScore
  from deepchecks.tabular.dataset import Dataset
label_desc: Use image node_id 3 for calling a global function with example usage: test_regresion_model(diabetes_split_dataset_and_model) without return types