class_docstr: Unittest for the available batch methods
code: def test_invalid_mode_type(self):
      self.methods_configs = self.get_method_configs_by_evaluators(
          ["local_penalization"], include=True
      )
      self.methods_configs[0]["model_type"] = "RF"
  
      self.assertRaises(
          GPyOpt.core.errors.InvalidConfigError,
          lambda: self.check_configs(),
      )
  
file_path: GPyOpt/GPyOpt/testing/functional_tests/test_parallelization.py
imports: import numpy
  import GPyOpt
  from GPyOpt.util.general import samples_multidimensional_uniform
  from mock import Mock
  from mocks import MockModelVectorValuedPredict
  from base_test_case import BaseTestCase
label_desc: Use image node_id 5 for calling the TestAcquisitions obj's underlying member method code with example usage: obj.test_invalid_mode_type() without return types