#NEWLINE# def test09_iterable_check( self ) : #NEWLINE# #INDENT# 'Error on assigning non-iterable to slice' #NEWLINE# ( pl , ul ) = self . lists_of_len ( ( self . limit + 1 ) ) #NEWLINE# def setfcn( x , i , v ) : #NEWLINE# #INDENT# x [ i ] = v #NEWLINE# #UNINDENT# self . assertRaises ( TypeError , setfcn , ul , slice ( 0 , 3 , 2 ) , 2 )