'Write results to console.'

def write_console(self):

    if self.summary:
        display.error(self.summary)
    else:
        if self.python_version:
            specifier = ('    on    python    %s' % self.python_version)
        else:
            specifier = ''
        display.error(('Found    %d    %s    issue(s)%s    which    need    to    be    resolved:' % (len(self.messages), (self.test or self.command), specifier)))
        for message in self.messages:
            display.error(message.format(show_confidence=True))
