Skip to content

Commit 8b011cc

Browse files
committed
work around for JPEG compression with YCbCr reported as 'YCbCr JPEG' in gdal 3.10
1 parent 08b0f6c commit 8b011cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_fuse_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def test_out_profile(file_rgb_100cm_float, tmp_path: Path, out_profile: Dict):
149149
assert (
150150
(v is None and k not in fuse_ds.profile) or
151151
(fuse_ds.profile[k] == v) or
152-
(str(fuse_ds.profile[k]) == str(v))
152+
(str(v).lower() in str(fuse_ds.profile[k]).lower())
153153
) # yapf: disable
154154

155155
# test output image has been set with src image properties not in out_profile

0 commit comments

Comments
 (0)