code: def test_parse_hyperopt_string(self):
      hyperparameter_string = "x {-5, 0, 5, 10}\ny {0, 5, 10, 15}"
      expected = OrderedDict(
          [["x", ["-5", "0", "5", "10"]], ["y", ["0", "5", "10", "15"]]]
      )
      ret = optimizer_base.parse_hyperparameter_string(
          hyperparameter_string
      )
      self.assertEqual(ret, expected)
  
      hyperparameter_string = "x {-5, 0, 5, 10} [5]\ny {0, 5, 10, 15}"
      ret = optimizer_base.parse_hyperparameter_string(
          hyperparameter_string
      )
      self.assertEqual(ret, expected)
  
      hyperparameter_string = "x {-5, 0, 5, 10}\ny {0, 5, 10, 15} [5]"
      ret = optimizer_base.parse_hyperparameter_string(
          hyperparameter_string
      )
      self.assertEqual(ret, expected)
  
      hyperparameter_string = "x {-5, 0, 5, 10}\ny 0, 5, 10, 15} [5]"
      self.assertRaises(
          ValueError,
          optimizer_base.parse_hyperparameter_string,
          hyperparameter_string,
      )
  
file_path: auto-sklearn/test/test_metalearning/pyMetaLearn/test_optimizer_base.py
imports: from collections import OrderedDict
  from autosklearn.metalearning.optimizers import optimizer_base
  import unittest
label_desc: Use image node_id 2 for calling the OptimizerBaseTest obj's underlying member method code with example usage: obj.test_parse_hyperopt_string() without return types