From b647ccfa673890d4ee30a29bb759a19e4f1a67dc Mon Sep 17 00:00:00 2001 From: Daniel Wiesmann Date: Fri, 26 Jun 2015 12:48:58 +0100 Subject: [PATCH] Refs #24840 -- Added skip flag to raster transform test for GDAL<1.8.1. Thanks to Simon Charette for the report. --- tests/gis_tests/gdal_tests/test_raster.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/gis_tests/gdal_tests/test_raster.py b/tests/gis_tests/gdal_tests/test_raster.py index ed1104ed1d..a307c0b1e6 100644 --- a/tests/gis_tests/gdal_tests/test_raster.py +++ b/tests/gis_tests/gdal_tests/test_raster.py @@ -211,6 +211,7 @@ class GDALRasterTests(unittest.TestCase): 12.0, 13.0, 14.0, 15.0] ) + @unittest.skipIf(GDAL_VERSION < (1, 8, 1), "GDAL >= 1.8.1 is required for this test") def test_raster_transform(self): # Prepare tempfile and nodata value rstfile = tempfile.NamedTemporaryFile(suffix='.tif')