def printErrors(self):
     current_stream = self.stream
     self.stream = _WritelnDecorator(sys.stderr)
     TextTestResult.printErrors(self)
     self.stream = current_stream