Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 7, 2023
1 parent 5bb2b61 commit 89446bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/test_imagefont.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 89446bf

Please sign in to comment.