File: 0002-Skip-test-on-deprecated-basemap.patch

package info (click to toggle)
pyresample 1.34.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 34,800 kB
  • sloc: python: 20,325; cpp: 463; makefile: 105
file content (45 lines) | stat: -rw-r--r-- 1,965 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
From: Antonio Valentino <antonio.valentino@tiscali.it>
Date: Sat, 14 Sep 2019 17:20:06 +0000
Subject: Skip test on deprecated basemap

Forwarded: not-needed
---
 pyresample/test/test_plot.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/pyresample/test/test_plot.py b/pyresample/test/test_plot.py
index 83dfe01..697d500 100644
--- a/pyresample/test/test_plot.py
+++ b/pyresample/test/test_plot.py
@@ -76,6 +76,7 @@ class Test(unittest.TestCase):
         self.assertAlmostEqual(b, 6356752.3142451793,
                                msg='Failed to get semi-minor axis of ellipsis')
 
+    @unittest.skip('deprecated interface')
     @unittest.skipIf(Basemap is None, "basemap is not available")
     def test_area_def2basemap(self):
         """Test the area to Basemap object conversion function."""
@@ -153,6 +154,7 @@ class Test(unittest.TestCase):
             retv, _ = _translate_coast_resolution_to_cartopy('10m')
             self.assertEqual(retv, '10m')
 
+    @unittest.skip('deprecated interface')
     def test_plate_carreeplot(self):
         """Test the Plate Caree plotting functionality."""
         from pyresample import geometry, kd_tree, parse_area_file, plot
@@ -166,6 +168,7 @@ class Test(unittest.TestCase):
         plot._get_quicklook(area_def, result, num_meridians=10, num_parallels=10)
         plot._get_quicklook(area_def, result, num_meridians=None, num_parallels=None)
 
+    @unittest.skip('deprecated interface')
     def test_easeplot(self):
         """Test the plotting on the ease grid area."""
         from pyresample import geometry, kd_tree, parse_area_file, plot
@@ -176,6 +179,7 @@ class Test(unittest.TestCase):
                                           fill_value=None)
         plot._get_quicklook(area_def, result)
 
+    @unittest.skip('deprecated interface')
     def test_orthoplot(self):
         """Test the ortho plotting."""
         from pyresample import geometry, kd_tree, parse_area_file, plot