mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-17 18:54:46 +03:00
Use similarity epsilon 0.5 for WMF, as vector rendering looks different across Windows platforms
This commit is contained in:
parent
62baf977fb
commit
0fd17488ed
|
@ -25,7 +25,7 @@ class TestFileWmf(PillowTestCase):
|
||||||
# Compare to reference rendering
|
# Compare to reference rendering
|
||||||
imref = Image.open('Tests/images/drawing_wmf_ref.png')
|
imref = Image.open('Tests/images/drawing_wmf_ref.png')
|
||||||
imref.load()
|
imref.load()
|
||||||
self.assert_image_similar(im, imref, 0)
|
self.assert_image_similar(im, imref, 0.5)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in New Issue
Block a user