Lines Matching refs:get_contiguous

873                     contig = get_contiguous(result, PyBUF_READ, order)
1237 self.assertRaises(TypeError, get_contiguous, 1, 2, 3, 4, 5)
1238 self.assertRaises(TypeError, get_contiguous, nd, "xyz", 'C')
1239 self.assertRaises(OverflowError, get_contiguous, nd, 2**64, 'C')
1240 self.assertRaises(TypeError, get_contiguous, nd, PyBUF_READ, 961)
1241 self.assertRaises(UnicodeEncodeError, get_contiguous, nd, PyBUF_READ,
1243 self.assertRaises(ValueError, get_contiguous, nd, PyBUF_READ, 'Z')
1244 self.assertRaises(ValueError, get_contiguous, nd, 255, 'A')
2449 self.assertRaises(ValueError, get_contiguous, nd, PyBUF_READ, 'C')
2450 self.assertRaises(ValueError, get_contiguous, nd, PyBUF_READ, 'F')
2451 self.assertRaises(ValueError, get_contiguous, nd[::-1], PyBUF_READ, 'C')
3935 self.assertRaises(TypeError, get_contiguous, {}, PyBUF_READ, 'F')
3938 self.assertRaises(BufferError, get_contiguous, b'x', PyBUF_WRITE, 'C')
3942 self.assertRaises(BufferError, get_contiguous, nd, PyBUF_WRITE, 'A')
3947 m = get_contiguous(nd, PyBUF_READ, order)
3954 m = get_contiguous(nd, PyBUF_READ, order)
3961 m = get_contiguous(nd, PyBUF_WRITE, order)
3972 m = get_contiguous(nd, PyBUF_READ, order)
3980 m = get_contiguous(nd, PyBUF_READ, order)
3986 m = get_contiguous(nd, PyBUF_WRITE, order)
3992 m = get_contiguous(nd, PyBUF_WRITE, order)
3999 m = get_contiguous(nd, PyBUF_READ, order)
4008 m = get_contiguous(nd, PyBUF_READ, order)
4018 m = get_contiguous(nd, PyBUF_WRITE, order)
4021 self.assertRaises(BufferError, get_contiguous, nd, PyBUF_WRITE, 'F')
4022 m = get_contiguous(nd, PyBUF_READ, order)
4028 m = get_contiguous(nd, PyBUF_WRITE, order)
4031 self.assertRaises(BufferError, get_contiguous, nd, PyBUF_WRITE, 'C')
4032 m = get_contiguous(nd, PyBUF_READ, order)
4038 self.assertRaises(BufferError, get_contiguous, nd, PyBUF_WRITE,
4040 m = get_contiguous(nd, PyBUF_READ, order)
4045 m = get_contiguous(nd, PyBUF_READ, 'C')