#NEWLINE# def test_write_read_longstring( self ) : #NEWLINE# #INDENT# with tempfile . TemporaryFile ( ) as f : #NEWLINE# #INDENT# value = 'test' #NEWLINE# write_longstring ( f , value ) #NEWLINE# f . seek ( 0 ) #NEWLINE# self . assertEqual ( read_longstring ( f ) , value )