Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
units & deprecation merge (pydata#3530)
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty authored Nov 14, 2019
1 parent c0ef2f6 commit 7b4a286
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xarray/tests/test_units.py
Original file line number Diff line number Diff line change
Expand Up @@ -1969,7 +1969,7 @@ def test_broadcast_equals(self, unit, dtype):
dim={"z": np.linspace(10, 20, 12) * unit_registry.s},
axis=1,
),
method("drop", labels="x"),
method("drop_sel", labels="x"),
method("reset_coords", names="x2"),
method("copy"),
pytest.param(
Expand Down Expand Up @@ -4045,7 +4045,7 @@ def test_reindex_like(self, unit, error, dtype):
marks=pytest.mark.xfail(reason="strips units"),
),
pytest.param(
method("apply", np.fabs),
method("map", np.fabs),
marks=pytest.mark.xfail(reason="fabs strips units"),
),
),
Expand Down Expand Up @@ -4220,7 +4220,7 @@ def test_grouped_operations(self, func, dtype):
method("rename_dims", x="offset_x"),
method("swap_dims", {"x": "x2"}),
method("expand_dims", v=np.linspace(10, 20, 12) * unit_registry.s, axis=1),
method("drop", labels="x"),
method("drop_sel", labels="x"),
method("drop_dims", "z"),
method("set_coords", names="c"),
method("reset_coords", names="x2"),
Expand Down

0 comments on commit 7b4a286

Please sign in to comment.