Package: python-cartopy / 0.18.0+dfsg-2

test_robinson.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Mark tests with xfail.
Author: Bas Couwenberg <sebastic@debian.org>
Bug: https://github.com/SciTools/cartopy/issues/1458#issuecomment-584542263
Bug-Debian: https://bugs.debian.org/951767

--- a/lib/cartopy/tests/crs/test_robinson.py
+++ b/lib/cartopy/tests/crs/test_robinson.py
@@ -119,6 +119,7 @@ def test_central_longitude(lon):
                         [-8625154.6651000, 8625154.6651000], _LIMIT_TOL)
 
 
+@pytest.mark.xfail
 def test_transform_point():
     """
     Mostly tests the workaround for a specific problem.
@@ -140,6 +141,7 @@ def test_transform_point():
     assert np.all(np.isnan(result))
 
 
+@pytest.mark.xfail
 def test_transform_points():
     """
     Mostly tests the workaround for a specific problem.