From 89446bf97fd68a7f91f070df4e73ee99f7a0649e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 7 Jul 2023 06:02:24 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- Tests/test_imagefont.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/test_imagefont.py b/Tests/test_imagefont.py index e7d3c9e930a..343ecda82c6 100644 --- a/Tests/test_imagefont.py +++ b/Tests/test_imagefont.py @@ -141,9 +141,9 @@ def test_I16(font): draw = ImageDraw.Draw(im) txt = "Hello World!" - draw.text((10, 10), txt, fill=0xfffe, font=font) + draw.text((10, 10), txt, fill=0xFFFE, font=font) - assert im.getpixel((12, 14)) == 0xfffe + assert im.getpixel((12, 14)) == 0xFFFE target = "Tests/images/transparent_background_text_L.png" assert_image_similar_tofile(im.convert("L"), target, 0.01)