Skip to content

Commit

Permalink
Merge pull request #137 from PSLmodels/fix-test
Browse files Browse the repository at this point in the history
Fix error message in failing test
  • Loading branch information
hdoupe authored Jul 26, 2024
2 parents ff775c3 + 57133cb commit 7110f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paramtools/tests/test_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ def test_range_validation_on_list_param(self, TestParams):
]
}
params.adjust(adj, raise_errors=False)
exp = ["float_list_param[label0=zero, label1=1] [-1.0, 1.0] < min 0 "]
exp = ["float_list_param[label0=zero, label1=1] [np.float64(-1.0), np.float64(1.0)] < min 0 "]

assert params.errors["float_list_param"] == exp

Expand Down

0 comments on commit 7110f6f

Please sign in to comment.