'Print a line summarising the test results to the stream, and color the
status result.'

def _printSummary(self):

    summary = self._getSummary()
    if self.wasSuccessful():
        status = 'PASSED'
        color = self.SUCCESS
    else:
        status = 'FAILED'
        color = self.FAILURE
    self._colorizer.write(status, color)
    self._write('%s\n', summary)
