def METHOD_NAME(self):
    pyfunc = mod.vector_sin_float32
    cfunc = jit(nopython=True)(pyfunc)
    # Non-contiguous array
    x = np.arange(10).astype(np.float32)[::2]
    y = np.zeros_like(x)
    with self.assertRaises(errors.TypingError) as raises:
        cfunc(x, y)
    self.assertIn("from_buffer() unsupported on non-contiguous buffers",
                  str(raises.exception))