Skip to content

Commit

Permalink
[Bug] #1486: test_model.py Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
karanjogi committed Oct 3, 2023
1 parent 647d8e4 commit c517bb1
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 @@ -76,7 +76,7 @@ def test_dimensional_parameters(model_class):
assert model.dimensional_parameters()
_dict = model.settings()
if not isinstance(model, SIRModel):
_dict.update(param_dict={'_kappa': 0})
_dict.update(param_dict={'kappa': 0})
assert model_class(**_dict).dimensional_parameters() is not None
with pytest.raises(ZeroDivisionError):
_dict.update(param_dict={param: 0 for param in _dict["param_dict"].keys()})
Expand Down

0 comments on commit c517bb1

Please sign in to comment.