#NEWLINE# def test_roundtrip_generator( self ) : #NEWLINE# #INDENT# fh = io . StringIO ( ) #NEWLINE# _generator_to_genbank ( _genbank_to_generator ( self . multi_fp ) , fh ) #NEWLINE# obs = fh . getvalue ( ) #NEWLINE# fh . close ( ) #NEWLINE# with io . open ( self . multi_fp ) as fh : #NEWLINE# #INDENT# exp = fh . read ( ) #NEWLINE# #UNINDENT# self . assertEqual ( obs , exp )