Antonio Valentino pushed to branch master at Debian GIS Project / 
pytroll-schedule


Commits:
9672e5b7 by Antonio Valentino at 2019-01-18T22:56:49Z
Fix test intersection

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/0003-Fix-test-intersection.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+pytroll-schedule (0.5.1-1ubuntu1) UNRELEASED; urgency=medium
+
+  * debian/patches:
+    - new 0003-Fix-test-intersection.patch
+
+ -- Antonio Valentino <[email protected]>  Fri, 18 Jan 2019 
23:54:37 +0100
+
 pytroll-schedule (0.5.1-1) unstable; urgency=medium
 
   * New upstream release.


=====================================
debian/patches/0003-Fix-test-intersection.patch
=====================================
@@ -0,0 +1,21 @@
+From: Antonio Valentino <[email protected]>
+Date: Fri, 18 Jan 2019 23:51:58 +0100
+Subject: Fix test intersection
+
+---
+ trollsched/tests/test_spherical.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/trollsched/tests/test_spherical.py 
b/trollsched/tests/test_spherical.py
+index 997d7ef..aa57660 100644
+--- a/trollsched/tests/test_spherical.py
++++ b/trollsched/tests/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.assertTrue(np.allclose(np.rad2deg(lat), 5.0575148968282093))
+ 
+         arc1 = Arc(SCoordinate(0, 0),
+                    SCoordinate(np.deg2rad(10), np.deg2rad(10)))


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 0001-Fix-tests.patch
 0002-Do-not-install-broken-script.patch
+0003-Fix-test-intersection.patch



View it on GitLab: 
https://salsa.debian.org/debian-gis-team/pytroll-schedule/commit/9672e5b787b2543014c3f094d770867a877f36ed

-- 
View it on GitLab: 
https://salsa.debian.org/debian-gis-team/pytroll-schedule/commit/9672e5b787b2543014c3f094d770867a877f36ed
You're receiving this email because of your account on salsa.debian.org.
_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to