1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Description: Fix test failure with PROJ 9.8.0.
Author: Bas Couwenberg <sebastic@debian.org>
Forwarded: https://github.com/pytroll/pyresample/pull/710
Applied-Upstream: https://github.com/pytroll/pyresample/commit/762aece891933adb90da6f00fb815436b581e83d
--- a/pyresample/test/test_geometry/test_area.py
+++ b/pyresample/test/test_geometry/test_area.py
@@ -1088,7 +1088,7 @@ class TestAreaDefinition:
def test_from_epsg(self, area_class):
"""Test the from_epsg class method."""
sweref = area_class.from_epsg('3006', 2000)
- assert sweref.description == 'SWEREF99 TM'
+ assert sweref.description in ['SWEREF99 TM', 'ETRS89-SWE [SWEREF 99 TM]']
with ignore_pyproj_proj_warnings():
assert sweref.proj_dict == {'ellps': 'GRS80', 'no_defs': None,
'proj': 'utm', 'type': 'crs', 'units': 'm',
|