code: def output_lines(self):
          
          if self.exception:
              return [self.EXCEPTION_HEADERS[0], '  ...'] + self.exception_detail
          else:
              return self.output
docs: Return a sequence of lines, suitable for printing or comparing
          answers.