#NEWLINE# def test_genbank_to_generator_single( self ) : #NEWLINE# #INDENT# for c in [ Sequence , Protein ] : #NEWLINE# #INDENT# obs = next ( _genbank_to_generator ( self . single_upper_fp , constructor = c ) ) #NEWLINE# exp = c ( self . single [ 0 ] , metadata = self . single [ 1 ] , positional_metadata = self . single [ 2 ] ) #NEWLINE# self . assertEqual ( exp , c )