code: def test_class_context_instance_raise(self):
      context = IndexError
      try:
          try:
              raise context
          except:
              raise OSError()
      except OSError as e:
          self.assertIsNot(e.__context__, context)
          self.assertIsInstance(e.__context__, context)
      else:
          self.fail("No exception raised")
  
imports: from test import support
  import sys
  import types
  import unittest
label_desc: Use image node_id 2 for calling the TestContext obj's underlying member method code with example usage: obj.test_class_context_instance_raise() without return types