Skip to content

Commit

Permalink
[Bug] lisphilar#1486 : Bug fix test_model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
karanjogi committed Nov 27, 2023
1 parent d84759e commit bd826af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_dynamics/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ def test_r0(model_class):
def test_dimensional_parameters(model_class):
model = model_class.from_sample()
assert model.dimensional_parameters()
_dict = model.settings()
if not isinstance(model, SIRModel):
_dict = model.settings()
_dict.update(param_dict={'_kappa': 0})
assert model_class(**_dict).dimensional_parameters() is not None
with pytest.raises(ZeroDivisionError):
Expand Down

0 comments on commit bd826af

Please sign in to comment.