#NEWLINE# def test_sinkstate_list( self ) : #NEWLINE# #INDENT# a = list ( range ( 5 ) ) #NEWLINE# b = iter ( a ) #NEWLINE# self . assertEqual ( list ( b ) , list ( range ( 5 ) ) ) #NEWLINE# a . extend ( range ( 5 , 10 ) ) #NEWLINE# self . assertEqual ( list ( self ) , [ ] )