code: def make_frames(self):
      def outer():
          x = 5
          y = 6
  
          def inner():
              z = x + 2
              1 / 0
              t = 9
  
          return inner()
  
      try:
          outer()
      except ZeroDivisionError as e:
          tb = e.__traceback__
          frames = []
          while tb:
              frames.append(tb.tb_frame)
              tb = tb.tb_next
      return frames
  
imports: import gc
  import operator
  import re
  import sys
  import textwrap
  import threading
  import types
  import unittest
  import weakref
  from test import support
  from test.support import threading_helper
  from test.support.script_helper import assert_python_ok
label_desc: Use image node_id 1 for calling the FrameAttrsTest obj's underlying member method code with example usage: obj.make_frames() and returns: frames, inner