Use assert_image_similar instead of assert_image_equal in test_file_webp.py

This commit is contained in:
Sandro Mani 2014-01-04 21:48:18 +01:00
parent f1e7b0bf0f
commit 4de31b2693

View File

@ -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():