def METHOD_NAME(self):
    """
    Returns the list of failures, including source lines, as a formatted
    strings ready to be printed.
    """
    err_strings = []
    if self.total_errors > 0:
        self._deferred_print.sort()
        for line_number, offset, code, text, doc in self._deferred_print:
            err_strings.append(self._fmt % {
                'path': self.filename,
                'row': self.line_offset + line_number, 'col': offset + 1,
                'code': code, 'text': text,
            })
            if line_number > len(self.lines):
                line = ''
            else:
                line = self.lines[line_number - 1]
            err_strings.append(line.rstrip())
            err_strings.append(re.sub(r'\S', ' ', line[:offset]) + '^')
    return err_strings