mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-03 21:24:31 +03:00
Use assert_image_similar instead of assert_image_equal in test_file_webp.py
This commit is contained in:
parent
f1e7b0bf0f
commit
4de31b2693
|
@ -28,7 +28,7 @@ def test_read_rgb():
|
|||
|
||||
# generated with: dwebp -ppm ../../Images/lena.webp -o lena_webp_bits.ppm
|
||||
target = Image.open('Tests/images/lena_webp_bits.ppm')
|
||||
assert_image_equal(image, target)
|
||||
assert_image_similar(image, target, 20.0)
|
||||
|
||||
|
||||
def test_write_rgb():
|
||||
|
|
Loading…
Reference in New Issue
Block a user