#NEWLINE# def result( self , callcount ) : #NEWLINE# #INDENT# test_key = _current_test #NEWLINE# per_fn = self . data [ test_key ] #NEWLINE# per_platform = per_fn [ self . platform_key ] #NEWLINE# if ( 'counts' not in per_platform ) : #NEWLINE# #INDENT# per_platform [ 'counts' ] = counts = [ ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# counts = per_platform [ 'counts' ] #NEWLINE# #UNINDENT# if ( 'current_count' not in per_platform ) : #NEWLINE# #INDENT# per_platform [ 'current_count' ] = current_count = 0 #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# current_count = per_platform [ 'current_count' ] #NEWLINE# #UNINDENT# has_count = ( len ( counts ) > current_count ) #NEWLINE# if ( not has_count ) : #NEWLINE# #INDENT# counts . append ( counts ) #NEWLINE# if self . write : #NEWLINE# #INDENT# self . _write ( ) #NEWLINE# #UNINDENT# result = None #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# result = ( per_platform [ 'lineno' ] , counts [ current_count ] ) #NEWLINE# #UNINDENT# per_platform [ 'current_count' ] += 1 #NEWLINE# return result