mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 18:56:17 +03:00
Test image was generated on Windows and matches on Windows, but not on Travis (Linux). Check for similar.
This commit is contained in:
parent
bcc5305125
commit
b9303b454f
|
@ -181,7 +181,7 @@ class TestImage(PillowTestCase):
|
||||||
# Assert
|
# Assert
|
||||||
self.assertEqual(im.size, (128, 128))
|
self.assertEqual(im.size, (128, 128))
|
||||||
im3 = Image.open('Tests/images/effect_spread.png')
|
im3 = Image.open('Tests/images/effect_spread.png')
|
||||||
self.assert_image_equal(im2, im3)
|
self.assert_image_similar(im2, im3, 10)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user