#NEWLINE# def tearDown( self ) : #NEWLINE# #INDENT# if self . timing : #NEWLINE# #INDENT# elapsed = ( time . time ( ) - self . begun ) #NEWLINE# with open ( TIMING_FILE , 'r' ) as jj : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# times = json . load ( jj ) #NEWLINE# #UNINDENT# except ValueError : #NEWLINE# #INDENT# times = [ ] #NEWLINE# #UNINDENT# times . append ( ( elapsed , self . _testMethodName ) ) #NEWLINE# #UNINDENT# with open ( TIMING_FILE , 'w' ) as jj : #NEWLINE# #INDENT# json . dump ( times , jj ) #NEWLINE# #UNINDENT# #UNINDENT# super ( BaseTest , self ) . tearDown ( )