'Test .view() on A layout array but has contiguous innermost dimension.'

def test_array_sliced_view(self):

    pyfunc = array_sliced_view
    cres = self.ccache.compile(pyfunc, (types.uint8[:],))
    cfunc = cres.entry_point
    orig = np.array([1.5, 2], dtype=np.float32)
    byteary = orig.view(np.uint8)
    expect = pyfunc(byteary)
    got = cfunc(byteary)
    self.assertEqual(expect, got)
