code: def test_task_type_not_sklearn_regression(diabetes):
      class RegressionModel:
          def predict(self, x):
              return [0] * len(x)
  
      (
          train_ds,
          _,
      ) = diabetes
  
      context = Context(train_ds, model=RegressionModel())
  
      assert_that(context.task_type, equal_to(TaskType.REGRESSION))
      assert_that(context._model_classes, is_(None))
  
file_path: deepchecks/tests/utils/test_task_inference.py
imports: from hamcrest import assert_that, equal_to, has_items, is_
  from deepchecks.tabular import Context
  from deepchecks.tabular.utils.task_type import TaskType
label_desc: Use image node_id 4 for calling a global function with example usage: test_task_type_not_sklearn_regression(diabetes) and returns: unknown