0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

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

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