code: def test_indicator_constraints(self):
      space = [
          {
              "name": "var_1",
              "type": "continuous",
              "domain": (-5, 5),
              "dimensionality": 1,
          }
      ]
      constraints = [{"name": "const_1", "constraint": "x[:,0]**2 - 1"}]
      x = np.array([[0], [0.5], [4], [-0.2], [-5]])
      expected_indicies = np.array([[1], [1], [0], [1], [0]])
  
      design_space = Design_space(space, constraints=constraints)
      I_x = design_space.indicator_constraints(x)
  
      self.assertTrue(np.array_equal(expected_indicies, I_x))
  
imports: import numpy
  import unittest
  from GPyOpt.core.task.space import Design_space
  from GPyOpt.core.task.variables import BanditVariable, DiscreteVariable, CategoricalVariable, ContinuousVariable
  from GPyOpt.core.errors import InvalidConfigError
label_desc: Use image node_id 15 for calling the TestDesignSpace obj's underlying member method code with example usage: obj.test_indicator_constraints() without return types