[Git][debian-gis-team/python-pyproj][upstream] New upstream version 3.1~rc1
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Sat May 22 06:38:32 BST 2021
Bas Couwenberg pushed to branch upstream at Debian GIS Project / python-pyproj
Commits:
48f87090 by Bas Couwenberg at 2021-05-22T07:26:28+02:00
New upstream version 3.1~rc1
- - - - -
2 changed files:
- pyproj/__init__.py
- test/test_geod.py
Changes:
=====================================
pyproj/__init__.py
=====================================
@@ -28,7 +28,7 @@ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIO
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
"""
-__version__ = "3.1rc0"
+__version__ = "3.1rc1"
__all__ = [
"Proj",
"Geod",
=====================================
test/test_geod.py
=====================================
@@ -132,7 +132,10 @@ def test_geod_inverse_transform():
latprev = lat1pt
for (lon, lat), (res12, res21, resdist) in zip(lonlats, res_az12_az21_dists):
o_az12, o_az21, o_dist = gg.inv(lonprev, latprev, lon, lat)
- assert_almost_equal((o_az12, o_az21, o_dist), (res12, res21, resdist))
+ if resdist == 0:
+ assert_almost_equal(o_dist, 0)
+ else:
+ assert_almost_equal((o_az12, o_az21, o_dist), (res12, res21, resdist))
latprev = lat
lonprev = lon
if not include_terminus:
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-pyproj/-/commit/48f87090bdd45b5d1561bd33dde3d4a33b26f5e1
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-pyproj/-/commit/48f87090bdd45b5d1561bd33dde3d4a33b26f5e1
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20210522/8e3ae5de/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list