#NEWLINE# def _send_message( info , backend ) : #NEWLINE# #INDENT# request = get_request ( ) #NEWLINE# request_repr = get_sanitized_request_repr ( request ) #NEWLINE# backend ( subject = 'Soft Assert: [{}] {}' . format ( info . key [ : 8 ] , info . msg ) , message = 'Message: {info.msg}\nValue: {info.obj!r}\nTraceback:\n{info.traceback}\nRequest:\n{request}\nOccurrences to date: {info.count}\n' . format ( info = backend , request = request_repr ) )