code: def test_invalid_mixed_config(self):
      space = [
          {
              "name": "var_1",
              "type": "bandit",
              "domain": np.array([[-1, 1], [1]]),
          }
      ]
  
      with self.assertRaises(InvalidConfigError):
          design_space = Design_space(space)
  
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 3 for calling the TestDesignSpace obj's underlying member method code with example usage: obj.test_invalid_mixed_config() without return types