Skip to content
Commits on Source (3)
pyresample (1.9.3-2) unstable; urgency=medium
* Team upload.
* Add patch to fix TestArc failure on some architectures.
-- Bas Couwenberg <sebastic@debian.org> Tue, 12 Jun 2018 14:55:34 +0200
pyresample (1.9.3-1) unstable; urgency=medium
[ Antonio Valentino ]
......
0001-fix-doc-build.patch
0002-fix-proj4-initialization.patch
test_spherical.patch
Description: Fix TestArc failure on some architectures.
AssertionError: array([5.0575149]) != 5.057514896828209
Author: Bas Couwenberg <sebastic@debian.org>
Forwarded: https://github.com/pytroll/pyresample/pull/127
--- a/pyresample/test/test_spherical.py
+++ b/pyresample/test/test_spherical.py
@@ -185,7 +185,7 @@ class TestArc(unittest.TestCase):
lon, lat = arc1.intersection(arc2)
self.assertTrue(np.allclose(np.rad2deg(lon), 5))
- self.assertEquals(np.rad2deg(lat), 5.0575148968282093)
+ self.assertEquals(np.rad2deg(lat).round(7), round(5.0575148968282093, 7))
arc1 = Arc(SCoordinate(0, 0),
SCoordinate(np.deg2rad(10), np.deg2rad(10)))