code: def __exit__(self, type, value, traceback):
      global __TESTING__
      __TESTING__ = None
      override_renderer(None)
      if type is DiagnosticError and self.matches:
          return True
  
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 3 for calling the DiagnosticTesting obj's underlying member method code with example usage: obj.__exit__(type, value, traceback) and returns: True