code: def test_target_continuous(self, get_iris_data):
      discretiser = MDLPSupervisedDiscretiserMethod(
          {
              "min_depth": 0,
              "random_state": 17,
              "min_split": 1e-3,
              "dtype": int,
          }
      )
  
      with pytest.raises(ValueError):
          discretiser.fit(
              feat_names=["sepal length (cm)"],
              dataframe=get_iris_data,
              target_continuous=True,
              target="target",
          )
  
file_path: causalnex/tests/discretiser/test_mdlp.py
imports: from importlib import reload
  import numpy
  import pytest
  from mock import patch
  from causalnex.discretiser import discretiser_strategy
  from causalnex.discretiser.discretiser_strategy import MDLPSupervisedDiscretiserMethod
label_desc: Use image node_id 2 for calling the TestMDLP obj's underlying member method code with example usage: obj.test_target_continuous(get_iris_data) without return types