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)