code: def test_deprecation_warning_simple_model_comparison():
      # Test that warning is raised when alternative_scorers has value:
      with pytest.warns(
          DeprecationWarning, match="alternative_scorers"
      ):
          _ = SimpleModelComparison(
              alternative_scorers={"acc": accuracy_score}
          )
  
      # Check to see no warnings are raised when deprecated feature doesn't exist:
      with warnings.catch_warnings():
          warnings.simplefilter("error")
          _ = SimpleModelComparison()
  
file_path: deepchecks/tests/base/test_tabular_deprecation_warnings.py
imports: import warnings
  import numpy
  import pandas
  import pytest
  from sklearn.metrics import accuracy_score
  from deepchecks.tabular import Dataset
  from deepchecks.tabular.checks import CategoryMismatchTrainTest, MultiModelPerformanceReport, RegressionSystematicError, SegmentPerformance, SimpleModelComparison, TrainTestFeatureDrift, TrainTestLabelDrift, TrainTestPredictionDrift, WeakSegmentsPerformance, WholeDatasetDrift
label_desc: Use image node_id 7 for calling a global function with example usage: test_deprecation_warning_simple_model_comparison() without return types