code: def __init__(
      self, nodeid, outcome, longrepr, result, sections=(), **extra
  ):
      self.nodeid = nodeid
      self.outcome = outcome
      self.longrepr = longrepr
      self.result = result or []
      self.sections = list(sections)
      self.__dict__.update(extra)
  
imports: from pprint import pprint
  import py
  import six
  from _pytest._code.code import ExceptionInfo
  from _pytest._code.code import ReprEntry
  from _pytest._code.code import ReprEntryNative
  from _pytest._code.code import ReprExceptionInfo
  from _pytest._code.code import ReprFileLocation
  from _pytest._code.code import ReprFuncArgs
  from _pytest._code.code import ReprLocals
  from _pytest._code.code import ReprTraceback
  from _pytest._code.code import TerminalRepr
  from _pytest.outcomes import skip
  from _pytest.pathlib import Path
label_desc: Use image node_id 1 to create a new CollectReport object from inherited base classes: BaseReport with example: obj = CollectReport(nodeid, outcome, longrepr, result, sections)