Merge pull request #1210 from toabctl/issue-1202

Fix test TestImageFont.test_textsize_equal for SLE11SP3
This commit is contained in:
Hugo 2015-04-29 15:39:50 +03:00
commit 7e02582931

View File

@ -127,7 +127,7 @@ try:
target = 'Tests/images/rectangle_surrounding_text.png' target = 'Tests/images/rectangle_surrounding_text.png'
target_img = Image.open(target) 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): def test_render_multiline(self):
im = Image.new(mode='RGB', size=(300, 100)) im = Image.new(mode='RGB', size=(300, 100))