code: def test_get_data_type_failure(self):
      iris = load_iris(as_frame=True)
  
      iris.frame["target"] = iris.frame["target"].astype(bool)
      feature_names = iris.feature_names
      dataset = iris.frame
  
      dice_data = dice_ml.Data(
          dataframe=dataset,
          continuous_features=feature_names,
          outcome_name="target",
      )
  
      with pytest.raises(
          ValueError,
          match="Unknown data type of feature %s: must be int or float"
          % "target",
      ):
          dice_data.get_data_type("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 5 for calling the TestChecksPublicDataInterface obj's underlying member method code with example usage: obj.test_get_data_type_failure() without return types