code: def test_invalid_algorithm(self, iris_edge_list):
      with pytest.raises(
          KeyError,
          match="Some discretiser algorithms are not supported",
      ):
          BayesianNetworkClassifier(
              iris_edge_list,
              discretiser_alg={
                  "sepal width (cm)": "invalid",
                  "petal length (cm)": "invalid",
                  "petal width (cm)": "mdlp",
              },
          )
  
file_path: causalnex/tests/test_network_model.py
imports: import math
  import numpy
  import pytest
  from causalnex.network.sklearn import BayesianNetworkClassifier
label_desc: Use image node_id 8 for calling the TestBayesianCPDs obj's underlying member method code with example usage: obj.test_invalid_algorithm(iris_edge_list) without return types