mirror of
https://github.com/rasterio/rasterio.git
synced 2025-12-08 17:36:12 +00:00
Update xfail condition
This commit is contained in:
parent
6c0e4b76c8
commit
06e5ff6ce9
@ -5,6 +5,7 @@ import re
|
||||
|
||||
import affine
|
||||
import numpy as np
|
||||
from packaging.version import Version
|
||||
import pytest
|
||||
|
||||
import rasterio
|
||||
@ -65,7 +66,7 @@ def test_update_nodatavals(data):
|
||||
|
||||
|
||||
@pytest.mark.xfail(
|
||||
not rasterio.__gdal_version__.startswith('2.1'),
|
||||
not Version(rasterio.__gdal_version__) >= Version('2.1'),
|
||||
reason='Unsupported by GDAL versions < 2.1')
|
||||
def test_update_nodatavals_none(data):
|
||||
"""GDAL doesn't support un-setting nodata values."""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user