code: def test_3611(self):
      import gc
  
      # A re-raised exception in a __del__ caused the __context__
      # to be cleared
      class C:
          def __del__(self):
              try:
                  1 / 0
              except:
                  raise
  
      def f():
          x = C()
          try:
              try:
                  f.x
              except AttributeError:
                  # make x.__del__ trigger
                  del x
                  gc.collect()  # For PyPy or other GCs.
                  raise TypeError
          except Exception as e:
              self.assertNotEqual(e.__context__, None)
              self.assertIsInstance(e.__context__, AttributeError)
  
      with support.catch_unraisable_exception() as cm:
          f()
  
          self.assertEqual(ZeroDivisionError, cm.unraisable.exc_type)
  
imports: from test import support
  import sys
  import types
  import unittest
label_desc: Use image node_id 13 for calling the TestContext obj's underlying member method code with example usage: obj.test_3611() without return types