code: def test_distant_exception(self):
      def f():
          1 / 0
  
      def g():
          f()
  
      def h():
          g()
  
      def i():
          h()
  
      def j(p):
          i()
  
      f_ident = ident(f)
      g_ident = ident(g)
      h_ident = ident(h)
      i_ident = ident(i)
      j_ident = ident(j)
      self.check_events(
          j,
          [
              (1, "call", j_ident),
              (2, "call", i_ident),
              (3, "call", h_ident),
              (4, "call", g_ident),
              (5, "call", f_ident),
              (5, "return", f_ident),
              (4, "return", g_ident),
              (3, "return", h_ident),
              (2, "return", i_ident),
              (1, "return", j_ident),
          ],
      )
  
imports: import gc
  import pprint
  import sys
  import unittest
label_desc: Use image node_id 5 for calling the ProfileSimulatorTestCase obj's underlying member method code with example usage: obj.test_distant_exception() without return types