code: def test_invalid_continuous_features(self, data_type):
      iris = load_iris(as_frame=True)
      dataset = iris.frame
  
      import re
  
      if data_type == DataTypeCombinations.Incorrect:
          with pytest.raises(
              ValueError,
              match=re.escape(
                  "should provide the name(s) of continuous features in the data as a list"
              ),
          ):
              dice_ml.Data(
                  dataframe=dataset,
                  continuous_features=np.array(iris.feature_names),
                  outcome_name="target",
              )
      elif data_type == DataTypeCombinations.AsNone:
          with pytest.raises(
              ValueError,
              match=re.escape(
                  "should provide the name(s) of continuous features in the data as a list"
              ),
          ):
              dice_ml.Data(
                  dataframe=dataset,
                  continuous_features=None,
                  outcome_name="target",
              )
      else:
          with pytest.raises(
              ValueError, match="continuous_features should be provided"
          ):
              dice_ml.Data(dataframe=dataset, outcome_name="target")
  
imports: from enum import Enum
  import numpy
  import pandas
  import pytest
  from raiutils.exceptions import UserConfigValidationException
  from sklearn.datasets import load_iris
  import dice_ml
  from dice_ml.utils import helpers
label_desc: Use image node_id 2 for calling the TestErrorScenariosPublicDataInterface obj's underlying member method code with example usage: obj.test_invalid_continuous_features(data_type) without return types