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