Skip to content

Commit

Permalink
sigh
Browse files Browse the repository at this point in the history
  • Loading branch information
kratsg committed Dec 19, 2020
1 parent 2d31c0e commit 2b67a8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_infer.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def test_hypotest_return_tail_probs(tmpdir, hypotest_args, test_stat):
"""
tb = pyhf.tensorlib

kwargs = {'return_tail_probs': True}
kwargs = {'return_tail_probs': True, 'test_stat': test_stat}
result = pyhf.infer.hypotest(*hypotest_args, **kwargs)
# CLs_obs, [CL_sb, CL_b]
assert len(list(result)) == 2
Expand Down Expand Up @@ -144,6 +144,7 @@ def test_hypotest_return_expected_set(tmpdir, hypotest_args, test_stat):
'return_tail_probs': True,
'return_expected': True,
'return_expected_set': True,
'test_stat': test_stat,
}
result = pyhf.infer.hypotest(*hypotest_args, **kwargs)
# CLs_obs, [CLsb, CLb], CLs_exp, CLs_exp @[-2, -1, 0, +1, +2]sigma
Expand Down

0 comments on commit 2b67a8a

Please sign in to comment.