'Create a new instance of XMLTestRunner.'

def __init__(self, output='.', stream=None, descriptions=True, verbose=False, elapsed_times=True):

    if (stream is None):
        stream = sys.stderr
    verbosity = (1, 2)[verbose]
    TextTestRunner.__init__(self, stream, descriptions, verbosity)
    self.output = output
    self.elapsed_times = elapsed_times
