mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-28 10:00:33 +03:00
Added pytest skip message
This commit is contained in:
parent
e05b8d7481
commit
eb1fc4ad9f
|
@ -50,7 +50,7 @@ def test_write_animation_L(tmp_path):
|
||||||
if is_big_endian():
|
if is_big_endian():
|
||||||
webp = parse_version(features.version_module("webp"))
|
webp = parse_version(features.version_module("webp"))
|
||||||
if webp < parse_version("1.2.2"):
|
if webp < parse_version("1.2.2"):
|
||||||
return
|
pytest.skip("Fails with libwebp earlier than 1.2.2")
|
||||||
orig.seek(orig.n_frames - 1)
|
orig.seek(orig.n_frames - 1)
|
||||||
im.seek(im.n_frames - 1)
|
im.seek(im.n_frames - 1)
|
||||||
orig.load()
|
orig.load()
|
||||||
|
@ -76,7 +76,7 @@ def test_write_animation_RGB(tmp_path):
|
||||||
if is_big_endian():
|
if is_big_endian():
|
||||||
webp = parse_version(features.version_module("webp"))
|
webp = parse_version(features.version_module("webp"))
|
||||||
if webp < parse_version("1.2.2"):
|
if webp < parse_version("1.2.2"):
|
||||||
return
|
pytest.skip("Fails with libwebp earlier than 1.2.2")
|
||||||
im.seek(1)
|
im.seek(1)
|
||||||
im.load()
|
im.load()
|
||||||
assert_image_equal(im, frame2.convert("RGBA"))
|
assert_image_equal(im, frame2.convert("RGBA"))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user