Skip to content

Commit

Permalink
assert rel unc >= 0 in a test
Browse files Browse the repository at this point in the history
  • Loading branch information
jvavrek committed May 13, 2024
1 parent 35931b7 commit e81218c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/fitting_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def test_with_init(self, sim_high_stat):
fitter.param_unc("bad_name")
if "gauss_amp" in fitter.param_names:
u = fitter.param_rel_unc("gauss_amp")
assert u is None or u < 0.01
assert u is None or (u < 0.01 and u >= 0)

@pytest.mark.filterwarnings("ignore")
def test_no_roi(self, sim_high_stat):
Expand Down

0 comments on commit e81218c

Please sign in to comment.