#NEWLINE# def test_no_state_var_err( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# self . prob . setup ( check = False ) #NEWLINE# #UNINDENT# except ValueError as err : #NEWLINE# #INDENT# self . assertEqual ( str ( err ) , "'state_var' option in Brent solver of root must be specified" ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . fail ( 'ValueError Expected' )