'Length limits'

def test08_min_length(self):

    (pl, ul) = self.lists_of_len()
    ul._minlength = 1
    def delfcn(x, i):
        del x[:i]
    def setfcn(x, i):
        x[:i] = []
    for i in range(((self.limit - ul._minlength) + 1), (self.limit + 1)):
        self.assertRaises(ValueError, delfcn, ul, i)
        self.assertRaises(ValueError, setfcn, ul, i)
    del ul[:ul._minlength]
    ul._maxlength = 4
    for i in range(0, (ul._maxlength - len(ul))):
        ul.append(i)
    self.assertRaises(ValueError, ul.append, 10)
