code: def test_stack_trace_from_cpp_error():
      """A python exception originating in C++ should have C++ stack frames"""
      try:
          tvm.testing.ErrorTest(0, 1)
          assert False
      except ValueError as err:
          frames = traceback.extract_tb(err.__traceback__)
  
          cpp_frames = [
              frame
              for frame in frames
              if frame.filename.endswith(".cc")
              or frame.filename.endswith(".c")
          ]
          assert len(cpp_frames) >= 1, (
              f"Traceback through files '{[frame.filename for frame in frames]}'"
              f" expected to contain C/C++ frames, "
              f" but instead caught exception {err}"
          )
  
file_path: tvm/tests/python/runtime/test_runtime_error.py
imports: import functools
  import platform
  import subprocess
  import traceback
  import pytest
  import tvm
  import tvm.testing
label_desc: Use image node_id 7 for calling a global function with example usage: test_stack_trace_from_cpp_error() without return types