code: def test_cubic_minimizer_exceptions(self):
      with self.assertRaisesRegexp(ValueError, "bound_size_ratio"):
          # bound_size_ratio < 0
          wolfe.cubic_minimizer(
              0, 1, -1, 5, 10, 10, 60, bound_size_ratio=-1
          )
  
      with self.assertRaisesRegexp(ValueError, "bound_size_ratio"):
          # bound_size_ratio >= 1
          wolfe.cubic_minimizer(
              0, 1, -1, 5, 10, 10, 60, bound_size_ratio=2
          )
  
file_path: neupy/tests/algorithms/minsearch/test_wolfe.py
imports: import operator
  from functools import reduce
  from collections import namedtuple
  from itertools import product
  import numpy
  from neupy.algorithms.minsearch import wolfe
  from base import BaseTestCase
label_desc: Use image node_id 7 for calling the WolfeInterpolationTestCase obj's underlying member method code with example usage: obj.test_cubic_minimizer_exceptions() without return types