Skip to content

Commit

Permalink
work around for JPEG compression with YCbCr reported as 'YCbCr JPEG' …
Browse files Browse the repository at this point in the history
…in gdal 3.10
  • Loading branch information
dugalh committed Dec 9, 2024
1 parent 08b0f6c commit 8b011cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_fuse_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def test_out_profile(file_rgb_100cm_float, tmp_path: Path, out_profile: Dict):
assert (
(v is None and k not in fuse_ds.profile) or
(fuse_ds.profile[k] == v) or
(str(fuse_ds.profile[k]) == str(v))
(str(v).lower() in str(fuse_ds.profile[k]).lower())
) # yapf: disable

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

0 comments on commit 8b011cc

Please sign in to comment.