#NEWLINE# def report_invalid_syntax( self , message , level = 'ERROR' ) : #NEWLINE# #INDENT# type_ = ( 'test case' if ( type ( self ) is TestCase ) else 'keyword' ) #NEWLINE# message = ( "Invalid syntax in %s '%s': %s" % ( type_ , self . name , message ) ) #NEWLINE# self . parent . report_invalid_syntax ( message , level )