File: 0001-Skip-tests-that-use-shapes.patch

package info (click to toggle)
pycoast 1.6.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 21,916 kB
  • sloc: python: 5,657; makefile: 145; sh: 24
file content (29 lines) | stat: -rw-r--r-- 1,066 bytes parent folder | download
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
From: Antonio Valentino <antonio.valentino@tiscali.it>
Date: Sun, 3 Jul 2016 17:17:27 +0000
Subject: Skip tests that use shapes

Forwarded: not-needed
---
 pycoast/tests/test_pycoast.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pycoast/tests/test_pycoast.py b/pycoast/tests/test_pycoast.py
index da33046..fb8de34 100644
--- a/pycoast/tests/test_pycoast.py
+++ b/pycoast/tests/test_pycoast.py
@@ -609,6 +609,7 @@ class TestContourWriterPIL(_ContourWriterTestBase):
                 coord_ref="fake",
             )
 
+    @pytest.mark.skip(reason='dataset not available: test_data/shapes/Metareas.shp')
     def test_add_shapefile_shapes(self):
         from pycoast import ContourWriterPIL
 
@@ -1426,6 +1427,7 @@ class TestContourWriterPILAGG(_ContourWriterTestBase):
         res = np.array(img)
         assert fft_metric(grid_data, res), "Writing of nh points failed"
 
+    @pytest.mark.skip(reason='dataset not available: test_data/shapes/Metareas.shp')
     def test_add_shapefile_shapes_agg(self):
         from pycoast import ContourWriterAGG