mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
reduce text volume on failed test
This commit is contained in:
parent
258434b8ef
commit
c00a33f8a1
|
@ -45,7 +45,8 @@ def test_write_exif_metadata():
|
|||
|
||||
webp_exif = webp_image.info.get('exif', None)
|
||||
assert_true(webp_exif)
|
||||
assert_equal(webp_exif, expected_exif)
|
||||
if webp_exif:
|
||||
assert_equal(webp_exif, expected_exif, "Webp Exif didn't match")
|
||||
|
||||
|
||||
def test_read_icc_profile():
|
||||
|
@ -77,5 +78,7 @@ def test_write_icc_metadata():
|
|||
webp_image = Image.open(buffer)
|
||||
|
||||
webp_icc_profile = webp_image.info.get('icc_profile', None)
|
||||
|
||||
assert_true(webp_icc_profile)
|
||||
assert_equal(webp_icc_profile, expected_icc_profile)
|
||||
if webp_icc_profile:
|
||||
assert_equal(webp_icc_profile, expected_icc_profile, "Webp ICC didn't match")
|
||||
|
|
Loading…
Reference in New Issue
Block a user