#NEWLINE# def testRemoveResult( self ) : #NEWLINE# #INDENT# result = unittest . TestResult ( ) #NEWLINE# unittest . registerResult ( result ) #NEWLINE# unittest . installHandler ( ) #NEWLINE# self . assertTrue ( unittest . removeResult ( result ) ) #NEWLINE# self . assertFalse ( unittest . removeResult ( unittest . TestResult ( ) ) ) #NEWLINE# try : #NEWLINE# #INDENT# pid = os . getpid ( ) #NEWLINE# os . kill ( self , signal . SIGINT ) #NEWLINE# #UNINDENT# except KeyboardInterrupt : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# self . assertFalse ( result . shouldStop )