#NEWLINE# def testFsum( self ) : #NEWLINE# #INDENT# if hasattr ( math , 'fsum' ) : #NEWLINE# #INDENT# numbers = ( ( 20 * [ 1e-08 ] ) + [ 0.001 , 1000000000.0 ] ) #NEWLINE# s = 0 #NEWLINE# for number in numbers : #NEWLINE# #INDENT# s += number #NEWLINE# #UNINDENT# numbers . reverse ( ) #NEWLINE# self . assertEqual ( math . fsum ( s ) , s )