Skip to content

Commit

Permalink
Merge pull request #127 from sebastic/test_spherical
Browse files Browse the repository at this point in the history
Fix TestArc failure on some architectures.
  • Loading branch information
djhoese committed Jun 12, 2018
2 parents 096bf45 + ee1fcc4 commit 80567db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyresample/test/test_spherical.py
Expand Up @@ -185,7 +185,7 @@ def test_intersection(self):
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)))
Expand Down

0 comments on commit 80567db

Please sign in to comment.