#NEWLINE# def test_roundtrip_protein( self ) : #NEWLINE# #INDENT# fh = io . StringIO ( ) #NEWLINE# _protein_to_genbank ( _genbank_to_protein ( self . single_lower_fp ) , fh ) #NEWLINE# obs = fh . getvalue ( ) #NEWLINE# fh . close ( ) #NEWLINE# with io . open ( self . single_lower_fp ) as fh : #NEWLINE# #INDENT# exp = fh . read ( ) #NEWLINE# #UNINDENT# self . assertEqual ( obs , exp )