mirror of
https://github.com/rasterio/rasterio.git
synced 2025-12-08 17:36:12 +00:00
Use a GDAL transform in test_deprecated.py
This commit is contained in:
parent
caff38c7c0
commit
2fb7802b42
@ -13,6 +13,6 @@ def test_open_transform_gdal_geotransform(path_rgb_byte_tif):
|
||||
"""
|
||||
with pytest.raises(TypeError):
|
||||
with rasterio.open(
|
||||
path_rgb_byte_tif,
|
||||
transform=tuple(affine.Affine.identity())):
|
||||
path_rgb_byte_tif, transform=tuple(affine.Affine.identity().to_gdal())
|
||||
):
|
||||
pass
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user