Skip to content

Commit

Permalink
Remove obsolete tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ecomodeller committed Jun 27, 2024
1 parent 7cdf02e commit a9f1330
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tests/test_multimodelcompare.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,6 @@ def test_mm_sel_missing_model(cc):


def test_mm_skill_obs(cc):
with pytest.warns(FutureWarning):
sk = cc.skill(observation="c2")
assert len(sk) == 2
assert pytest.approx(sk.loc["SW_2"].bias) == 0.081431053

sk = cc.sel(observation="c2").skill()
assert len(sk) == 2
assert pytest.approx(sk.loc["SW_2"].bias) == 0.081431053
Expand Down Expand Up @@ -288,15 +283,6 @@ def test_mm_mean_skill_weights_dict(cc):


def test_mm_scatter(cc):
with pytest.warns(FutureWarning):
cc.sel(model="SW_2").scatter(start="2017-10-28")

with pytest.warns(FutureWarning):
cc.sel(model="SW_2")[0].scatter(start="2017-10-28")

with pytest.warns(FutureWarning):
cc.sel(model="SW_2").scatter()

# scatter is the default plot
ax = cc.sel(model="SW_2").plot()
assert "SW_2" in ax.get_title()
Expand Down

0 comments on commit a9f1330

Please sign in to comment.