Skip to content

Commit

Permalink
build: more fixes for deprecated unittest aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
darvid authored and cneskey committed Oct 12, 2023
1 parent 00237bb commit 2a57db5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/report/test_exceedence.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ def test_prob_data(self):
self._SPACE,
self._RISK
)
self.assertAlmostEquals(self._MEAN_QUANTILE, quantiles.mean())
self.assertAlmostEqual(self._MEAN_QUANTILE, quantiles.mean())

def test_loss_data(self):
"""Test loss percentage gneration data"""
space, percent = self._fec_1._get_loss_data(
self._SPACE,
self._RISK,
)
self.assertAlmostEquals(self._MEAN_PERCENT, percent.mean())
self.assertAlmostEqual(self._MEAN_PERCENT, percent.mean())


if __name__ == '__main__':
Expand Down

0 comments on commit 2a57db5

Please sign in to comment.