• Home
  • Raw
  • Download

Lines Matching refs:get_contiguous

879                     contig = get_contiguous(result, PyBUF_READ, order)
1263 self.assertRaises(TypeError, get_contiguous, 1, 2, 3, 4, 5)
1264 self.assertRaises(TypeError, get_contiguous, nd, "xyz", 'C')
1265 self.assertRaises(OverflowError, get_contiguous, nd, 2**64, 'C')
1266 self.assertRaises(TypeError, get_contiguous, nd, PyBUF_READ, 961)
1267 self.assertRaises(UnicodeEncodeError, get_contiguous, nd, PyBUF_READ,
1269 self.assertRaises(ValueError, get_contiguous, nd, PyBUF_READ, 'Z')
1270 self.assertRaises(ValueError, get_contiguous, nd, 255, 'A')
2475 self.assertRaises(ValueError, get_contiguous, nd, PyBUF_READ, 'C')
2476 self.assertRaises(ValueError, get_contiguous, nd, PyBUF_READ, 'F')
2477 self.assertRaises(ValueError, get_contiguous, nd[::-1], PyBUF_READ, 'C')
3965 self.assertRaises(TypeError, get_contiguous, {}, PyBUF_READ, 'F')
3968 self.assertRaises(BufferError, get_contiguous, b'x', PyBUF_WRITE, 'C')
3972 self.assertRaises(BufferError, get_contiguous, nd, PyBUF_WRITE, 'A')
3977 m = get_contiguous(nd, PyBUF_READ, order)
3984 m = get_contiguous(nd, PyBUF_READ, order)
3991 m = get_contiguous(nd, PyBUF_WRITE, order)
4002 m = get_contiguous(nd, PyBUF_READ, order)
4010 m = get_contiguous(nd, PyBUF_READ, order)
4016 m = get_contiguous(nd, PyBUF_WRITE, order)
4022 m = get_contiguous(nd, PyBUF_WRITE, order)
4029 m = get_contiguous(nd, PyBUF_READ, order)
4038 m = get_contiguous(nd, PyBUF_READ, order)
4048 m = get_contiguous(nd, PyBUF_WRITE, order)
4051 self.assertRaises(BufferError, get_contiguous, nd, PyBUF_WRITE, 'F')
4052 m = get_contiguous(nd, PyBUF_READ, order)
4058 m = get_contiguous(nd, PyBUF_WRITE, order)
4061 self.assertRaises(BufferError, get_contiguous, nd, PyBUF_WRITE, 'C')
4062 m = get_contiguous(nd, PyBUF_READ, order)
4068 self.assertRaises(BufferError, get_contiguous, nd, PyBUF_WRITE,
4070 m = get_contiguous(nd, PyBUF_READ, order)
4075 m = get_contiguous(nd, PyBUF_READ, 'C')