'@return: description of testcase failure
@rtype: str'

def _failure_description(self):

    if self.failures:
        tmpl = ('[%s][FAILURE]' % self.name)
        tmpl = (tmpl + ('-' * (80 - len(tmpl))))
        tmpl = (((tmpl + '\n%s\n') + ('-' * 80)) + '\n\n')
        return '\n'.join(((tmpl % x.text) for x in self.failures))
    return ''
