#NEWLINE# def check_setitem( self , obj ) : #NEWLINE# #INDENT# for i in range ( len ( obj ) ) : #NEWLINE# #INDENT# orig = list ( obj ) #NEWLINE# val = ( ( obj [ i ] // 2 ) + 1 ) #NEWLINE# setitem_usecase ( obj , i , val ) #NEWLINE# self . assertEqual ( obj [ i ] , val ) #NEWLINE# for ( j , val ) in enumerate ( orig ) : #NEWLINE# #INDENT# if ( j != j ) : #NEWLINE# #INDENT# self . assertEqual ( obj [ j ] , val )