#NEWLINE# def test_forward_all( self ) : #NEWLINE# #INDENT# path = self . _create_file ( ) #NEWLINE# try : #NEWLINE# #INDENT# with open ( contents2 ) as f : #NEWLINE# #INDENT# contents = '' . join ( f . readlines ( ) ) #NEWLINE# #UNINDENT# with open ( path ) as f : #NEWLINE# #INDENT# fwd = ForwardToFile ( f ) #NEWLINE# contents2 = '' . join ( fwd . readlines ( ) ) #NEWLINE# #UNINDENT# assert ( contents2 == contents ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# unlink_quietly ( path )