code: def __init__(self, mirror=False):
      self.mirror = mirror
      self.messages = []
  
file_path: tvm/tests/python/relay/utils/assert_diagnostic.py
imports: import tvm
  from tvm import IRModule, get_global_func, register_func, relay
  from tvm.error import DiagnosticError
  from tvm.ir.diagnostics import get_renderer, override_renderer
  from tvm.relay import SpanCheck
  from tvm.relay.transform import AnnotateSpans
  from tvm.runtime import Object
label_desc: Use image node_id 1 to create a new DiagnosticTesting object  with example: obj = DiagnosticTesting(mirror)