#NEWLINE# def test_write( self ) : #NEWLINE# #INDENT# f = self . create_file ( TESTFN ) #NEWLINE# f . setnframes ( self . nframes ) #NEWLINE# f . writeframes ( self . frames ) #NEWLINE# f . close ( ) #NEWLINE# self . check_file ( TESTFN , f . nframes , self . frames )