Lines Matching refs:BufferError
978 self.assertRaises(BufferError, a.append, a[0])
980 self.assertRaises(BufferError, a.extend, a[0:1])
982 self.assertRaises(BufferError, a.remove, a[0])
984 self.assertRaises(BufferError, a.pop, 0)
986 self.assertRaises(BufferError, a.fromlist, a.tolist())
988 self.assertRaises(BufferError, a.frombytes, a.tobytes())
991 self.assertRaises(BufferError, a.fromunicode, a.tounicode())
993 self.assertRaises(BufferError, operator.imul, a, 2)
995 self.assertRaises(BufferError, operator.imul, a, 0)
997 self.assertRaises(BufferError, operator.setitem, a, slice(0, 0), a)
999 self.assertRaises(BufferError, operator.delitem, a, 0)
1001 self.assertRaises(BufferError, operator.delitem, a, slice(0, 1))
1060 self.assertRaises(BufferError, getbuffer_with_null_view, a)