class_docstr: A test result class that can express test results in a XML report.
  
  Used by XMLTestRunner.
docstr: Create a new instance of _XMLTestResult.
docstr_tok: ["Create","a","new","instance","of","_XMLTestResult","."]
code: def __init__(
      self,
      stream=sys.stderr,
      descriptions=1,
      verbosity=1,
      elapsed_times=True,
  ):
      "Create a new instance of _XMLTestResult."
      TextTestResult.__init__(self, stream, descriptions, verbosity)
      self.successes = []
      self.callback = None
      self.elapsed_times = elapsed_times
      self.output_patched = False
  
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 _XMLTestResult object from inherited base classes: TextTestResult with example: obj = _XMLTestResult(stream, descriptions, verbosity, elapsed_times)