mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 09:26:16 +03:00
Fix test TestImageFont.test_textsize_equal
The current test failed on SLE11SP3 so use assert_image_similar() for the test. This fixes issue 1202.
This commit is contained in:
parent
74f81f43ea
commit
80a8463225
|
@ -126,7 +126,7 @@ try:
|
|||
|
||||
target = 'Tests/images/rectangle_surrounding_text.png'
|
||||
target_img = Image.open(target)
|
||||
self.assert_image_equal(im, target_img)
|
||||
self.assert_image_similar(im, target_img, .5)
|
||||
|
||||
def test_render_multiline(self):
|
||||
im = Image.new(mode='RGB', size=(300, 100))
|
||||
|
|
Loading…
Reference in New Issue
Block a user