def test_array_sliced_view(self):
        """
        Test .view() on A layout array but has contiguous innermost dimension.
        """
        pyfunc = array_sliced_view
        cfunc = njit((types.uint8[:],))(pyfunc)

        orig = np.array([1.5, 2], dtype=np.float32)
        byteary = orig.view(np.uint8)

        expect = pyfunc(byteary)
        got = cfunc(byteary)

        self.assertEqual(expect, got)

        Test .view() on A layout array but has contiguous innermost dimension.
        
numba/tests/test_array_methods.py