[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2023-03-06 21:43:51 +00:00
parent b3008905bc
commit ef03dfe3b2

View File

@ -57,6 +57,7 @@ def test_write_animation_L(tmp_path):
im.load() im.load()
assert_image_similar(im, orig.convert("RGBA"), 32.9) assert_image_similar(im, orig.convert("RGBA"), 32.9)
def test_write_animation_float(tmp_path): def test_write_animation_float(tmp_path):
""" """
Convert an animated PNG to animated WebP, then compare the frame count, and first Convert an animated PNG to animated WebP, then compare the frame count, and first
@ -86,6 +87,7 @@ def test_write_animation_float(tmp_path):
im.load() im.load()
assert_image_similar(im, orig.convert("RGBA"), 32.9) assert_image_similar(im, orig.convert("RGBA"), 32.9)
def test_write_animation_RGB(tmp_path): def test_write_animation_RGB(tmp_path):
""" """
Write an animated WebP from RGB frames, and ensure the frames Write an animated WebP from RGB frames, and ensure the frames