

def test_arithmetic_and_then_slicing(data):
    s = symbol('s', discover(data))
    assert eq(compute(((2 * s) + 1)[0], data, pre_compute=False), ((2 * x[0]) + 1))

dataset/ETHPy150Open blaze/blaze/blaze/compute/tests/test_h5py.py test_arithmetic_and_then_slicing/original