code: def test_import_error(self):
      with patch.dict("sys.modules", {"mdlp.discretization": None}):
          reload(discretiser_strategy)
          with pytest.raises(ImportError):
              discretiser_strategy.MDLPSupervisedDiscretiserMethod(
                  {
                      "min_depth": 0,
                      "random_state": 2020,
                      "min_split": 1e-3,
                      "dtype": int,
                  }
              )
      reload(discretiser_strategy)
  
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 4 for calling the TestMDLP obj's underlying member method code with example usage: obj.test_import_error() without return types