class_docstr: A test runner class that outputs the results in JUnit like XML files.
      
docstr: Create a new instance of XMLTestRunner.
docstr_tok: ["Create","a","new","instance","of","XMLTestRunner","."]
code: def __init__(
      self,
      output=".",
      stream=None,
      descriptions=True,
      verbose=False,
      elapsed_times=True,
  ):
      "Create a new instance of XMLTestRunner."
      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
  
imports: from __future__ import absolute_import
  import os
  import sys
  import time
  from unittest import TestResult, TextTestResult, TextTestRunner
  import xml.dom.minidom
label_desc: Use image node_id 1 to create a new XMLTestRunner object from inherited base classes: TextTestRunner with example: obj = XMLTestRunner(output, stream, descriptions, verbose, elapsed_times)