code: def testTwoResults(self):
      unittest.installHandler()
  
      result = unittest.TestResult()
      unittest.registerResult(result)
      new_handler = signal.getsignal(signal.SIGINT)
  
      result2 = unittest.TestResult()
      unittest.registerResult(result2)
      self.assertEqual(signal.getsignal(signal.SIGINT), new_handler)
  
      result3 = unittest.TestResult()
  
      def test(result):
          pid = os.getpid()
          os.kill(pid, signal.SIGINT)
  
      try:
          test(result)
      except KeyboardInterrupt:
          self.fail("KeyboardInterrupt not handled")
  
      self.assertTrue(result.shouldStop)
      self.assertTrue(result2.shouldStop)
      self.assertFalse(result3.shouldStop)
  
imports: import gc
  import os
  import sys
  import signal
  import weakref
  from cStringIO import StringIO
  import unittest
label_desc: Use image node_id 7 for calling the TestBreak obj's underlying member method code with example usage: obj.testTwoResults() without return types