code: def test_add_forbidden(self):
      m = numpy.ones([2, 3])
      preprocessors_list = ["pa", "pb"]
      classifier_list = ["ca", "cb", "cc"]
      cs = ConfigurationSpace()
      preprocessor = CategoricalHyperparameter(
          name="feature_preprocessor", choices=preprocessors_list
      )
      classifier = CategoricalHyperparameter(
          name="classifier", choices=classifier_list
      )
      cs.add_hyperparameter(preprocessor)
      cs.add_hyperparameter(classifier)
      new_cs = (
          autosklearn.pipeline.create_searchspace_util.add_forbidden(
              conf_space=cs,
              node_0_list=preprocessors_list,
              node_1_list=classifier_list,
              matches=m,
              node_0_name="feature_preprocessor",
              node_1_name="classifier",
          )
      )
      self.assertEqual(len(new_cs.forbidden_clauses), 0)
      self.assertIsInstance(new_cs, ConfigurationSpace)
  
      m[1, 1] = 0
      new_cs = (
          autosklearn.pipeline.create_searchspace_util.add_forbidden(
              conf_space=cs,
              node_0_list=preprocessors_list,
              node_1_list=classifier_list,
              matches=m,
              node_0_name="feature_preprocessor",
              node_1_name="classifier",
          )
      )
      self.assertEqual(len(new_cs.forbidden_clauses), 1)
      self.assertEqual(
          new_cs.forbidden_clauses[0].components[0].value, "cb"
      )
      self.assertEqual(
          new_cs.forbidden_clauses[0].components[1].value, "pb"
      )
      self.assertIsInstance(new_cs, ConfigurationSpace)
  
file_path: auto-sklearn/test/test_pipeline/test_create_searchspace_util_classification.py
imports: from collections import OrderedDict
  import numpy
  from ConfigSpace.configuration_space import ConfigurationSpace
  from ConfigSpace.hyperparameters import CategoricalHyperparameter
  import autosklearn.pipeline.create_searchspace_util
  from autosklearn.pipeline.components.classification.lda import LDA
  from autosklearn.pipeline.components.classification.liblinear_svc import LibLinear_SVC
  from autosklearn.pipeline.components.feature_preprocessing.no_preprocessing import NoPreprocessing
  from autosklearn.pipeline.components.feature_preprocessing.pca import PCA
  from autosklearn.pipeline.components.feature_preprocessing.random_trees_embedding import RandomTreesEmbedding
  from autosklearn.pipeline.components.feature_preprocessing.truncatedSVD import TruncatedSVD
  import unittest
label_desc: Use image node_id 3 for calling the TestCreateClassificationSearchspace obj's underlying member method code with example usage: obj.test_add_forbidden() without return types