def test_bounds_required(self):
    self.type_instance = types.List(types.Integer(), bounds=True)
    self.assertInvalid('1,2,3')
    self.assertInvalid('[1,2,3')
    self.assertInvalid('1,2,3]')
def test_bounds_required(self):
    self.type_instance = types.List(types.Integer(), bounds=True)
    self.assertInvalid('1,2,3')
    self.assertInvalid('[1,2,3')
    self.assertInvalid('1,2,3]')