'Create a new instance of _XMLTestResult.'

def __init__(self, stream=sys.stderr, descriptions=1, verbosity=1, elapsed_times=True):

    _TextTestResult.__init__(self, stream, descriptions, verbosity)
    self.successes = []
    self.callback = None
    self.elapsed_times = elapsed_times
    self.output_patched = False
