#NEWLINE# def runTests( self ) : #NEWLINE# #INDENT# if ( self . catchbreak and ( getattr ( unittest , 'installHandler' , None ) is not None ) ) : #NEWLINE# #INDENT# unittest . installHandler ( ) #NEWLINE# #UNINDENT# if ( self . testRunner is None ) : #NEWLINE# #INDENT# self . testRunner = runner . TextTestRunner #NEWLINE# #UNINDENT# if isinstance ( self . testRunner , classtypes ( ) ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# testRunner = self . testRunner ( verbosity = self . verbosity , failfast = self . failfast , buffer = self . buffer ) #NEWLINE# #UNINDENT# except TypeError : #NEWLINE# #INDENT# testRunner = self . testRunner ( ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# testRunner = self . testRunner #NEWLINE# #UNINDENT# self . result = testRunner . run ( self . test ) #NEWLINE# if self . exit : #NEWLINE# #INDENT# sys . exit ( ( not self . result . wasSuccessful ( ) ) )