[pyorbital] 01/05: Imported Upstream version 1.0.1
Antonio Valentino
a_valentino-guest at moszumanska.debian.org
Sun Feb 21 11:51:36 UTC 2016
This is an automated email from the git hooks/post-receive script.
a_valentino-guest pushed a commit to branch master
in repository pyorbital.
commit b5ff45d174b3fc2e63850f830f3b5da63067c2cb
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date: Sun Feb 21 09:24:59 2016 +0000
Imported Upstream version 1.0.1
---
changelog.rst | 12 ++++++++++++
pyorbital/orbital.py | 2 +-
pyorbital/tests/test_astronomy.py | 4 ++--
pyorbital/version.py | 2 +-
4 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/changelog.rst b/changelog.rst
index 0783152..c858212 100644
--- a/changelog.rst
+++ b/changelog.rst
@@ -1,6 +1,18 @@
Changelog
=========
+v1.0.1 (2016-02-17)
+-------------------
+
+- Update changelog. [Martin Raspaud]
+
+- Bump version: 1.0.0 → 1.0.1. [Martin Raspaud]
+
+- Change sun_angle test to AlmostEqual. [Martin Raspaud]
+
+ Signed-off-by: Martin Raspaud <martin.raspaud at smhi.se>
+
+
v1.0.0 (2015-08-25)
-------------------
diff --git a/pyorbital/orbital.py b/pyorbital/orbital.py
index 41b0201..5860ec7 100644
--- a/pyorbital/orbital.py
+++ b/pyorbital/orbital.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-# Copyright (c) 2011, 2012, 2013, 2014.
+# Copyright (c) 2011, 2012, 2013, 2014, 2015.
# Author(s):
diff --git a/pyorbital/tests/test_astronomy.py b/pyorbital/tests/test_astronomy.py
index ae39d1c..6666898 100644
--- a/pyorbital/tests/test_astronomy.py
+++ b/pyorbital/tests/test_astronomy.py
@@ -50,9 +50,9 @@ class TestAstronomy(unittest.TestCase):
time_slot = datetime(2011, 9, 23, 12, 0)
sun_theta = astr.sun_zenith_angle(time_slot, lon, lat)
- self.assertEqual(sun_theta, 60.371433482557833)
+ self.assertAlmostEqual(sun_theta, 60.371433482557833, places=8)
sun_theta = astr.sun_zenith_angle(time_slot, 0., 0.)
- self.assertEqual(sun_theta, 1.8751916863323426)
+ self.assertAlmostEqual(sun_theta, 1.8751916863323426, places=8)
def suite():
"""The suite for test_astronomy
diff --git a/pyorbital/version.py b/pyorbital/version.py
index f6bb660..b632c1e 100644
--- a/pyorbital/version.py
+++ b/pyorbital/version.py
@@ -23,4 +23,4 @@
"""Version file.
"""
-__version__ = "v1.0.0"
+__version__ = "v1.0.1"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pyorbital.git
More information about the Pkg-grass-devel
mailing list