File: 0002-test_robinson.patch

package info (click to toggle)
python-cartopy 0.25.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,152 kB
  • sloc: python: 16,526; makefile: 159; javascript: 66
file content (28 lines) | stat: -rw-r--r-- 860 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: Bas Couwenberg <sebastic@debian.org>
Date: Sat, 4 Dec 2021 18:08:31 +0000
Subject: Mark tests with xfail.

Bug: https://github.com/SciTools/cartopy/issues/1458#issuecomment-584542263
Bug-Debian: https://bugs.debian.org/951767
---
 lib/cartopy/tests/crs/test_robinson.py | 2 ++
 1 file changed, 2 insertions(+)

--- a/lib/cartopy/tests/crs/test_robinson.py
+++ b/lib/cartopy/tests/crs/test_robinson.py
@@ -89,6 +89,7 @@ def test_central_longitude(lon):
     assert_almost_equal(robin.y_limits, [-8625154.6651000, 8625154.6651000])
 
 
+@pytest.mark.xfail
 def test_transform_point():
     """
     Mostly tests the workaround for a specific problem.
@@ -109,6 +110,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.