Skip to content

Commit

Permalink
Update tests/test_properties.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian authored Jan 8, 2025
1 parent 0b9fafc commit caa98b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,5 +318,5 @@ def test_topk_max_min(data, array):
actual, _ = groupby_reduce(a, by, func="topk", finalize_kwargs={"k": k})
# TODO: do numbagg, flox
# FIXME: this is wrong, remove this compute, add a property test checking dask vs numpy
expected, _ = groupby_reduce(dask.compute(a)[0], by, func=npfunc, engine="numpy")
expected, _ = groupby_reduce(a, by, func=npfunc, engine="numpy")
assert_equal(actual, expected[np.newaxis, :])

0 comments on commit caa98b8

Please sign in to comment.