Lines Matching refs:__setitem__
706 self.assertRaises(TypeError, a.__setitem__)
707 self.assertRaises(TypeError, a.__setitem__, None)
708 self.assertRaises(TypeError, a.__setitem__, 0, None)
711 a.__setitem__,
716 a.__setitem__,
898 self.assertRaises(TypeError, a.__setitem__, slice(0, 0), None)
899 self.assertRaises(TypeError, a.__setitem__, slice(0, 1), None)
902 self.assertRaises(TypeError, a.__setitem__, slice(0, 0), b)
903 self.assertRaises(TypeError, a.__setitem__, slice(0, 1), b)
1165 self.assertRaises(TypeError, a.__setitem__, 0, self.example[:2])
1273 self.assertRaises(OverflowError, a.__setitem__, 0, lower-1)
1279 self.assertRaises(OverflowError, a.__setitem__, 0, upper+1)