def METHOD_NAME(self):
    pipeline_elements = [PipelineElement("SVC", hyperparameters={'kernel': ['rbf', 'poly'],
                                                                 'C': FloatRange(0.1, 0.5, range_type='geomspace'),
                                                                 'tol': FloatRange(0.001, 0.01)})]
    with self.assertRaises(ValueError):
        self.optimizer.prepare(pipeline_elements, True)