• Home
  • Raw
  • Download

Lines Matching refs:BufferError

841                 except BufferError:
945 except BufferError: # re-exporter does not provide full information
990 self.assertRaises(BufferError, ndarray, ex, getbuf=req)
1100 self.assertRaises(BufferError, ndarray, ex)
1106 self.assertRaises(BufferError, ndarray, ex, getbuf=PyBUF_WRITABLE)
1107 self.assertRaises(BufferError, ndarray, ex, getbuf=PyBUF_ND)
1108 self.assertRaises(BufferError, ndarray, ex, getbuf=PyBUF_STRIDES)
1109 self.assertRaises(BufferError, ndarray, ex, getbuf=PyBUF_C_CONTIGUOUS)
1110 self.assertRaises(BufferError, ndarray, ex, getbuf=PyBUF_F_CONTIGUOUS)
1111 self.assertRaises(BufferError, ndarray, ex, getbuf=PyBUF_ANY_CONTIGUOUS)
1206 self.assertRaises(BufferError, ndarray, b'123', getbuf=PyBUF_WRITABLE)
1214 self.assertRaises(BufferError, nd.push, [1], [1])
1215 self.assertRaises(BufferError, nd.pop)
1221 self.assertRaises(BufferError, nd.push, [1], [1])
1222 self.assertRaises(BufferError, nd.pop)
1227 self.assertRaises(BufferError, nd.pop)
1297 self.assertRaises(BufferError, nd.pop)
1464 self.assertRaises(BufferError, nd.__getitem__, 1)
1466 self.assertRaises(BufferError, nd.__getitem__, slice(3,5,1))
1625 self.assertRaises(BufferError, xl.__setitem__, slice(0,8,1), xr)
2194 except BufferError:
2280 except BufferError:
2304 except BufferError:
2326 except BufferError:
2467 self.assertRaises(BufferError, memoryview, nd)
2469 self.assertRaises(BufferError, memoryview, nd)
3968 self.assertRaises(BufferError, get_contiguous, b'x', PyBUF_WRITE, 'C')
3972 self.assertRaises(BufferError, get_contiguous, nd, PyBUF_WRITE, 'A')
4051 self.assertRaises(BufferError, get_contiguous, nd, PyBUF_WRITE, 'F')
4061 self.assertRaises(BufferError, get_contiguous, nd, PyBUF_WRITE, 'C')
4068 self.assertRaises(BufferError, get_contiguous, nd, PyBUF_WRITE,
4174 self.assertRaises(BufferError, m.release)
4183 self.assertRaises(BufferError, m.release)
4193 self.assertRaises(BufferError, m2.release)
4204 self.assertRaises(BufferError, m2.release)
4291 with self.assertRaises(BufferError):
4418 self.assertRaises(BufferError, memoryview, nd)
4422 self.assertRaises(BufferError, memoryview, x)