Skip to content

Commit

Permalink
fix test suite warnings re drop (#3460)
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty committed Oct 31, 2019
1 parent c0af5e7 commit 96cc2bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xarray/tests/test_duck_array_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,9 @@ def test_argmin_max(dim_num, dtype, contains_nan, dask, func, skipna, aggdim):
**{aggdim: getattr(da, "arg" + func)(dim=aggdim, skipna=skipna).compute()}
)
expected = getattr(da, func)(dim=aggdim, skipna=skipna)
assert_allclose(actual.drop(actual.coords), expected.drop(expected.coords))
assert_allclose(
actual.drop(list(actual.coords)), expected.drop(list(expected.coords))
)


def test_argmin_max_error():
Expand Down

0 comments on commit 96cc2bc

Please sign in to comment.