#NEWLINE# def test_sinkstate_enumerate( self ) : #NEWLINE# #INDENT# a = range ( 5 ) #NEWLINE# e = enumerate ( a ) #NEWLINE# b = iter ( e ) #NEWLINE# self . assertEqual ( list ( b ) , list ( zip ( range ( 5 ) , range ( 5 ) ) ) ) #NEWLINE# self . assertEqual ( list ( self ) , [ ] )