code: def test_deprecation_label_type_dataset():
      with pytest.warns(
          DeprecationWarning,
          match="regression_label value for label type is deprecated, allowed task "
          "types are multiclass, binary and regression.",
      ):
          df = pd.DataFrame({"a": [1, 2, 3], "b": [4, 5, 6]})
          Dataset(df, label="b", label_type="regression_label")
  
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 4 for calling a global function with example usage: test_deprecation_label_type_dataset() without return types