#NEWLINE# def resultsFailures( result ) : #NEWLINE# #INDENT# ' Assert failures formatting ' #NEWLINE# msg = 'FAILURES ===============================================\n\n' #NEWLINE# for i in result . failures : #NEWLINE# #INDENT# for j in i : #NEWLINE# #INDENT# msg += str ( j ) #NEWLINE# #UNINDENT# msg += '\n' #NEWLINE# #UNINDENT# return msg