code: def test_task_type_not_sklearn_multiclass(iris_labeled_dataset):
      class ClassificationModel:
          def predict(self, x):
              return [0] * len(x)
  
          def predict_proba(self, x):
              return [[1, 0]] * len(x)
  
      context = Context(
          iris_labeled_dataset, model=ClassificationModel()
      )
  
      assert_that(context.task_type, equal_to(TaskType.MULTICLASS))
      assert_that(context.observed_classes, has_items(0, 1, 2))
      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 6 for calling a global function with example usage: test_task_type_not_sklearn_multiclass(iris_labeled_dataset) and returns: unknown, unknown