code: def test_print_after_up(self):
      bt = self.get_stack_trace(
          source=SAMPLE_WITH_C_CALL,
          cmds_after_breakpoint=[
              "py-up",
              "py-up",
              "py-print c",
              "py-print b",
              "py-print a",
          ],
      )
      self.assertMultilineMatches(
          bt, r".*\nlocal 'c' = 3\nlocal 'b' = 2\nlocal 'a' = 1\n.*"
      )
  
imports: import re
  import unittest
  from test.support import python_is_optimized
  from .util import run_gdb, setup_module, DebuggerTests, SAMPLE_SCRIPT
label_desc: Use image node_id 2 for calling the PyPrintTests obj's underlying member method code with example usage: obj.test_print_after_up() without return types