#NEWLINE# def test_seek_write( self ) : #NEWLINE# #INDENT# f = gzip . GzipFile ( self . filename , 'w' ) #NEWLINE# for pos in range ( 0 , 256 , 16 ) : #NEWLINE# #INDENT# f . seek ( pos ) #NEWLINE# f . write ( 'GZ\n' ) #NEWLINE# #UNINDENT# f . close ( )