Skip to content

Commit

Permalink
add warning TODO message
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre committed Aug 15, 2024
1 parent 7250962 commit cdb494b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_units.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ def test_to_agg_units(in_u, opfunc, op, exp, exp_u):
attrs={"units": in_u},
)

# FIXME: This is emitting warnings from deprecated DataArray.argmax() usage.
out = to_agg_units(getattr(da, opfunc)(), da, op)
np.testing.assert_allclose(out, exp)

Expand Down

0 comments on commit cdb494b

Please sign in to comment.