Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (3)
Add patch to fix TestArc failure on some architectures.
· bccfb512
Bas Couwenberg
authored
Jun 12, 2018
bccfb512
Set distribution to unstable.
· 3244ddc9
Bas Couwenberg
authored
Jun 12, 2018
3244ddc9
Mark test_spherical.patch as Forwarded.
· ad75f7ec
Bas Couwenberg
authored
Jun 12, 2018
ad75f7ec
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
ad75f7ec
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 ]
...
...
debian/patches/series
View file @
ad75f7ec
0001-fix-doc-build.patch
0002-fix-proj4-initialization.patch
test_spherical.patch
debian/patches/test_spherical.patch
0 → 100644
View file @
ad75f7ec
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)))