Skip to content

Commit

Permalink
fix(test_sfr): update test to be more robust with Matplotlib versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mwtoews committed Feb 14, 2023
1 parent 649596d commit e238d2c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions autotest/test_sfr.py
Original file line number Diff line number Diff line change
Expand Up @@ -797,12 +797,8 @@ def test_sfr_plot(mf2005_model_path):
check=False,
)
sfr = m.get_package("SFR")
tv = sfr.plot(
key="strtop",
)
assert issubclass(
type(tv[0]), matplotlib.axes.SubplotBase
), "could not plot strtop"
tv = sfr.plot(key="strtop")
assert isinstance(tv[0], matplotlib.axes.SubplotBase)


def get_test_matrix():
Expand Down

0 comments on commit e238d2c

Please sign in to comment.