mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-06 17:03:41 +03:00
fix centos, amazon
This commit is contained in:
parent
be192d8f69
commit
983371d4d8
|
@ -472,7 +472,7 @@ class TestImageFont(PillowTestCase):
|
||||||
d = ImageDraw.Draw(img)
|
d = ImageDraw.Draw(img)
|
||||||
d.text((10, 10), text, font=ttf)
|
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):
|
def _test_fake_loading_font(self, path_to_fake, fontname):
|
||||||
# Make a copy of FreeTypeFont so we can patch the original
|
# Make a copy of FreeTypeFont so we can patch the original
|
||||||
|
|
Loading…
Reference in New Issue
Block a user