mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 17:06:16 +03:00
Merge pull request #469 from manisandro/test_webp
Use assert_image_similar in test_file_webp.py
This commit is contained in:
commit
bcfc06d6d0
|
@ -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