Skip to content

Commit

Permalink
Fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
kratman committed Oct 3, 2023
1 parent ea830d2 commit 02d1e2a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ def test_smoothing_parameters(self):
pybamm.settings.heaviside_smoothing = -10
with self.assertRaisesRegex(ValueError, "positive number"):
pybamm.settings.abs_smoothing = -10
with self.assertRaisesRegex(ValueError, "'soft', or 'smooth'"):
pybamm.settings.min_max_mode = "unknown"
pybamm.settings.set_smoothing_parameters("exact")


Expand Down

0 comments on commit 02d1e2a

Please sign in to comment.