fix centos, amazon

This commit is contained in:
nulano 2019-04-08 15:16:27 +02:00 committed by Andrew Murray
parent be192d8f69
commit 983371d4d8

View File

@ -472,7 +472,7 @@ class TestImageFont(PillowTestCase):
d = ImageDraw.Draw(img)
d.text((10, 10), text, font=ttf)
self.assert_image_similar_tofile(img, target, self.metrics['textsize'])
self.assert_image_similar_tofile(img, target, self.metrics['multiline'])
def _test_fake_loading_font(self, path_to_fake, fontname):
# Make a copy of FreeTypeFont so we can patch the original