Skip to content

Commit 3e14bea

Browse files
authored
Use assert_image_equal_tofile when similarity is zero
1 parent ea9baaf commit 3e14bea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tests/test_font_pcf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def test_to_imagefont(request: pytest.FixtureRequest, tmp_path: Path) -> None:
8282
im = Image.new("L", (130, 30), "white")
8383
draw = ImageDraw.Draw(im)
8484
draw.text((0, 0), message, "black", font=imgfont)
85-
assert_image_similar_tofile(im, "Tests/images/test_draw_pbm_target.png", 0)
85+
assert_image_equal_tofile(im, "Tests/images/test_draw_pbm_target.png")
8686

8787

8888
def test_textsize(request: pytest.FixtureRequest, tmp_path: Path) -> None:

0 commit comments

Comments
 (0)