'Error on assigning non-iterable to slice'

def test09_iterable_check(self):

    (pl, ul) = self.lists_of_len((self.limit + 1))
    def setfcn(x, i, v):
        x[i] = v
    self.assertRaises(TypeError, setfcn, ul, slice(0, 3, 2), 2)
