

def test_keepdims_equals_true_doesnt_mess_up_agg_shape():
    x = symbol('x', '10 * int')
    ((chunk, chunk_expr), (agg, agg_expr)) = split(x, x.sum(), keepdims=False)
    assert iscollection(agg_expr.dshape)

dataset/ETHPy150Open blaze/blaze/blaze/expr/tests/test_split.py test_keepdims_equals_true_doesnt_mess_up_agg_shape/VarMisuse@50/78 `agg`->`agg_expr`