

def test_slicing(data):
    for idx in [0, 1, (0, 1), slice(1, 3), (0, slice(1, 5, 2))]:
        assert eq(compute(s[data], data), x[idx])

dataset/ETHPy150Open blaze/blaze/blaze/compute/tests/test_h5py.py test_slicing/VarMisuse@54/59 `idx`->`data`