Skip to content

Commit

Permalink
test: Adopt change to non-zero uncertainties
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert committed Jul 26, 2022
1 parent 038ecc4 commit 795b697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_optim.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ def test_optim_uncerts(backend, source, spec, mu):
return_uncertainties=True,
)
assert result.shape == (2, 2)
assert pytest.approx([0.26418431, 0.0]) == pyhf.tensorlib.tolist(result[:, 1])
assert pytest.approx([0.26418431, 0.1]) == pyhf.tensorlib.tolist(result[:, 1])


@pytest.mark.parametrize('mu', [1.0], ids=['mu=1'])
Expand Down

0 comments on commit 795b697

Please # to comment.