Skip to content

Commit

Permalink
Fixed some warnings in test_aggregate
Browse files Browse the repository at this point in the history
  • Loading branch information
vindelico committed Dec 2, 2023
1 parent ac206a3 commit af032a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_aggregate.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def test_fx(self):
ds["horizon"] = xr.DataArray(
["1981-2010", "2011-2040", "2041-2070", "2071-2100"], dims=["time"]
)
ds = ds.swap_dims({"time": "horizon"}).drop("time")
ds = ds.swap_dims({"time": "horizon"}).drop_vars("time")

out = xs.compute_deltas(
ds, reference_horizon="1981-2010", rename_variables=False
Expand Down

0 comments on commit af032a8

Please sign in to comment.