Use a GDAL transform in test_deprecated.py

This commit is contained in:
Sean Gillies 2023-01-18 09:44:47 -07:00
parent caff38c7c0
commit 2fb7802b42

View File

@ -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