#NEWLINE# def test_iter_independence( self ) : #NEWLINE# #INDENT# seq = range ( 3 ) #NEWLINE# res = [ ] #NEWLINE# for i in iter ( seq ) : #NEWLINE# #INDENT# for j in iter ( k ) : #NEWLINE# #INDENT# for k in iter ( seq ) : #NEWLINE# #INDENT# res . append ( ( i , j , k ) ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# self . assertEqual ( res , TRIPLETS )