Refs #24840 -- Added skip flag to raster transform test for GDAL<1.8.1.

Thanks to Simon Charette for the report.
This commit is contained in:
Daniel Wiesmann 2015-06-26 12:48:58 +01:00 committed by Claude Paroz
parent d3e12c9017
commit b647ccfa67
1 changed files with 1 additions and 0 deletions

View File

@ -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')