code: def test_run_with_illegal_scorer(text_classification_dataset_mock):
      # Arrange
      check = SingleDatasetPerformance(scorers=["f1_mean"])
  
      # Act & Assert
      assert_that(
          calling(check.run).with_args(
              text_classification_dataset_mock, predictions=[0, 1, 1]
          ),
          raises(
              DeepchecksValueError,
              "Scorer name f1_mean is unknown. See metric guide for a list"
              " of allowed scorer names.",
          ),
      )
  
imports: import numpy
  from hamcrest import assert_that, calling, close_to, equal_to, has_items, raises
  from deepchecks.core.errors import DeepchecksValueError, ValidationError
  from deepchecks.nlp.checks.model_evaluation.single_dataset_performance import SingleDatasetPerformance
  from tests.base.utils import equal_condition_result
label_desc: Use image node_id 4 for calling a global function with example usage: test_run_with_illegal_scorer(text_classification_dataset_mock) without return types