Assert that image is equal

This commit is contained in:
Andrew Murray 2022-11-19 17:18:27 +11:00
parent 7e5e843d5c
commit 3c7aa133eb

View File

@ -123,7 +123,7 @@ def test_keep_rgb_values_when_transparent(tmp_path):
# even though it is lossless, if we don't use exact=True
# in libwebp >= 0.5, the transparent area will be filled with black
# (or something more conducive to compression)
assert_image_similar(reloaded.convert("RGB"), image, 1)
assert_image_equal(reloaded.convert("RGB"), image)
def test_write_unsupported_mode_PA(tmp_path):