def METHOD_NAME(self, xp):
    arr = testing.shaped_arange((3, 4), xp)
    window_size = 2
    arr_view = xp.lib.stride_tricks.sliding_window_view(
        arr, window_size, 0)
    assert arr_view.strides == (16, 4, 16)
    return arr_view