code: def __init__(self, stream, descriptions, verbosity):
      super().__init__(
          stream=stream,
          descriptions=descriptions,
          verbosity=2 if verbosity else 0,
      )
      self.buffer = True
      if self.USE_XML:
          from xml.etree import ElementTree as ET
          from datetime import datetime, UTC
  
          self.__ET = ET
          self.__suite = ET.Element("testsuite")
          self.__suite.set(
              "start",
              datetime.now(UTC).replace(tzinfo=None).isoformat(" "),
          )
          self.__e = None
      self.__start_time = None
  
imports: import functools
  import io
  import sys
  import time
  import traceback
  import unittest
  from test import support
label_desc: Use image node_id 1 to create a new RegressionTestResult object from inherited base classes: unittest with example: obj = RegressionTestResult(stream, descriptions, verbosity)