def test_no_state_var_err(self):

        try:
            self.prob.setup(check=False)
        except __HOLE__ as err:
            self.assertEqual(str(err), "'state_var' option in Brent solver of root must be specified")
        else:
            self.fail('ValueError Expected')
dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/solvers/test/test_brent_solver.py/TestBrentSolver.test_no_state_var_err