docstr: Ensure that a PyObject* with a type with corrupt tp_name is handled
docstr_tok: ["Ensure","that","a","PyObject","*","with","a","type","with","corrupt","tp_name","is","handled"]
code: def test_corrupt_tp_name(self):
      "Ensure that a PyObject* with a type with corrupt tp_name is handled"
      self.assertSane(
          "id(42)", "set v->ob_type->tp_name=0xDEADBEEF", exprepr="42"
      )
  
imports: import re
  import sys
  from test import support
  from .util import BREAKPOINT_FN, GDB_VERSION, run_gdb, setup_module, DebuggerTests
label_desc: Use image node_id 22 for calling the PrettyPrintTests obj's underlying member method code with example usage: obj.test_corrupt_tp_name() without return types