code: def __init__(self, nodeid, xml):
      self.id = nodeid
      self.xml = xml
      self.add_stats = self.xml.add_stats
      self.family = self.xml.family
      self.duration = 0
      self.properties = []
      self.nodes = []
      self.testcase = None
      self.attrs = {}
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import functools
  import os
  import platform
  import re
  import sys
  import time
  from datetime import datetime
  import py
  import six
  import pytest
  from _pytest import nodes
  from _pytest.config import filename_arg
label_desc: Use image node_id 1 to create a new _NodeReporter object from inherited base classes: object with example: obj = _NodeReporter(nodeid, xml)