#NEWLINE# def test_duration( self ) : #NEWLINE# #INDENT# win = concat_of_frames ( self . t_start , self . t_end , self . rate ) #NEWLINE# duration = ( 1.0 / self . rate ) #NEWLINE# for w in win . windows [ : ( - 1 ) ] : #NEWLINE# #INDENT# self . assertAlmostEqual ( w . duration ( ) , duration )