From: Ole Streicher Date: Wed, 8 Aug 2018 10:59:12 +0200 Subject: Increase tolerance in flaky test The tolerance here seems to be a bit too small, and sometimes creates an error. Closes: #902713 --- astropy_healpix/tests/test_healpy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astropy_healpix/tests/test_healpy.py b/astropy_healpix/tests/test_healpy.py index 0e3b7a4..d5df3b3 100644 --- a/astropy_healpix/tests/test_healpy.py +++ b/astropy_healpix/tests/test_healpy.py @@ -302,7 +302,7 @@ def test_interp_weights(nside_pow, lon, lat, nest, lonlat): order2 = np.argsort(indices2) assert_equal(indices1[order1], indices2[order2]) - assert_allclose(weights1[order1], weights2[order2], atol=1e-5) + assert_allclose(weights1[order1], weights2[order2], atol=1e-4) # Make an array that can be useful up to the highest nside tested below