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:
Thomas Bechtold 2015-04-29 13:02:21 +02:00
parent 74f81f43ea
commit 80a8463225

View File

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