code: def test_printing_global(self):
      bt = self.get_stack_trace(
          script=SAMPLE_SCRIPT,
          cmds_after_breakpoint=["py-up", "py-print __name__"],
      )
      self.assertMultilineMatches(
          bt, r".*\nglobal '__name__' = '__main__'\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 3 for calling the PyPrintTests obj's underlying member method code with example usage: obj.test_printing_global() without return types