#NEWLINE# def __str__( self ) : #NEWLINE# #INDENT# '\n        Newline-separated text with all failed tasks and all previous errors.\n        ' #NEWLINE# s = ( ( s . prev_error . failures + '\n' ) if self . prev_error else '' ) #NEWLINE# s += ( '%s' % self . message ) #NEWLINE# if self . args [ 1 : ] : #NEWLINE# #INDENT# s += ( ' %s' % str ( self . args [ 1 : ] ) ) #NEWLINE# #UNINDENT# for task in self . tasktrace : #NEWLINE# #INDENT# s += ( '\n  in %s %s' % ( task . task . __name__ , task . name ) ) #NEWLINE# #UNINDENT# return s