Reduce assert tolerance in gammapy/scripts/tests/test_image_pipe.py
@@ -73,6 +73,6 @@ def test_image_pipe(tmpdir):
assert_allclose(images['exposure'].data.sum(), 54190569251987.68, atol=3)
assert_allclose(images['significance'].lookup(center), 33.707901541600634, atol=3)
assert_allclose(images['excess'].data.sum(), 346.8486363336217, atol=3)
- assert_allclose(image_maker.table_bkg_scale[0]["bkg_scale"], 0.7502867380744898)
- assert_allclose(image_maker.table_bkg_scale[1]["bkg_scale"], 0.7402389407935327)
- assert_allclose(image_maker.table_bkg_scale["N_counts"][0], 525.0583940319832)
+ assert_allclose(image_maker.table_bkg_scale[0]["bkg_scale"], 0.7502867380744898, rtol=0.03)
+ assert_allclose(image_maker.table_bkg_scale[1]["bkg_scale"], 0.7402389407935327, rtol=0.03)
+ assert_allclose(image_maker.table_bkg_scale["N_counts"][0], 525.0583940319832, rtol=0.03)
