code: def test_nonrandom_designs_with_constrains(self):
      constraints = [{"name": "const_1", "constraint": "x[:,0]**2 - 1"}]
      self.design_space = Design_space(
          self.space, constraints=constraints
      )
      initial_points_count = 10
  
      with self.assertRaises(InvalidConfigError):
          initial_design(
              "grid", self.design_space, initial_points_count
          )
  
      with self.assertRaises(InvalidConfigError):
          initial_design(
              "latin", self.design_space, initial_points_count
          )
  
      with self.assertRaises(InvalidConfigError):
          initial_design(
              "sobol", self.design_space, initial_points_count
          )
  
imports: from __future__ import division
  import numpy
  import unittest
  from numpy.testing import assert_allclose
  from GPyOpt.core.errors import InvalidConfigError
  from GPyOpt.core.task.space import Design_space
  from GPyOpt.experiment_design import initial_design
  from GPyOpt.util.general import normalize
label_desc: Use image node_id 8 for calling the TestInitialDesign obj's underlying member method code with example usage: obj.test_nonrandom_designs_with_constrains() without return types