Skip to content

Commit

Permalink
Added pytest skip message
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Jan 23, 2022
1 parent e05b8d7 commit eb1fc4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/test_file_webp_animated.py
Expand Up @@ -50,7 +50,7 @@ def test_write_animation_L(tmp_path):
if is_big_endian():
webp = parse_version(features.version_module("webp"))
if webp < parse_version("1.2.2"):
return
pytest.skip("Fails with libwebp earlier than 1.2.2")
orig.seek(orig.n_frames - 1)
im.seek(im.n_frames - 1)
orig.load()
Expand All @@ -76,7 +76,7 @@ def check(temp_file):
if is_big_endian():
webp = parse_version(features.version_module("webp"))
if webp < parse_version("1.2.2"):
return
pytest.skip("Fails with libwebp earlier than 1.2.2")
im.seek(1)
im.load()
assert_image_equal(im, frame2.convert("RGBA"))
Expand Down

0 comments on commit eb1fc4a

Please sign in to comment.