Skip to content

Commit

Permalink
Require GDAL >= 2.1 for test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean C. Gillies committed Jun 4, 2018
1 parent 2d3eb2b commit ce09606
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_warpedvrt.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def test_warped_vrt_dst_alpha(path_rgb_byte_tif):
assert vrt.mask_flag_enums == ([MaskFlags.per_dataset, MaskFlags.alpha], ) * 3 + ([MaskFlags.all_valid], )


@requires_gdal21(reason="Nodata deletion requires GDAL 2.1+")
def test_warped_vrt_msk_default(path_rgb_msk_byte_tif):
"""Add an alpha band to the VRT to access per-dataset mask of a source"""
with rasterio.open(path_rgb_msk_byte_tif) as src:
Expand Down

0 comments on commit ce09606

Please sign in to comment.