(self)
return s
Newline-separated text with all failed tasks and all previous errors.
Newline-separated text with all failed tasks and all previous errors.
Newline - separated text with all failed tasks and all previous errors .
def __str__(self):
        """
        Newline-separated text with all failed tasks and all previous errors.
        """
        s = self.prev_error.failures + '\n' if self.prev_error else ''

        s += '%s' % self.message
        if self.args[1:]:
            s += ' %s' % str(self.args[1:])

        for task in self.tasktrace:
            s += '\n  in %s %s' % (task.task.__name__, task.name)
        return s
def __str__ ( self ) : s = self . prev_error . failures + '\n' if self . prev_error else '' s += '%s' % self . message if self . args [ 1 : ] : s += ' %s' % str ( self . args [ 1 : ] ) for task in self . tasktrace : s += '\n  in %s %s' % ( task . task . __name__ , task . name ) return s