From 1cb52c0c152a091a5e19786e233cd1ce4d9dab97 Mon Sep 17 00:00:00 2001 From: "Sean C. Gillies" Date: Thu, 24 May 2018 18:50:19 -0600 Subject: [PATCH] Require GDAL 2.1+ for description editing There seems to be a subtle metadata writing issue in versions < 2.1 --- tests/test_rio_edit_info.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_rio_edit_info.py b/tests/test_rio_edit_info.py index bd641ad6..2023fc21 100644 --- a/tests/test_rio_edit_info.py +++ b/tests/test_rio_edit_info.py @@ -174,6 +174,7 @@ def test_edit_tags(data): assert src.tags()['wut'] == '2' +@requires_gdal21(reason="decription setting requires GDAL 2.1+") def test_edit_band_description(data): """Edit band descriptions""" runner = CliRunner()