[minor] changed test to be approximately equal to test result on different machine
This commit is contained in:
parent
8e7bd87711
commit
c3a2ef5022
@ -73,4 +73,4 @@ class TestXCorrPickCorrection():
|
|||||||
test_result = (-0.09983091718314982, 0.9578431835689154, 0.0015285160561610929, 0.03625786256084631)
|
test_result = (-0.09983091718314982, 0.9578431835689154, 0.0015285160561610929, 0.03625786256084631)
|
||||||
|
|
||||||
# check results
|
# check results
|
||||||
assert (correction, cc_max, uncert, fwfm) == test_result
|
assert pytest.approx(test_result, rel=1e-6) == (correction, cc_max, uncert, fwfm)
|
Loading…
Reference in New Issue
Block a user