Corrected expected image path

This commit is contained in:
Andrew Murray 2024-01-16 18:39:33 +11:00
parent b2711c3e8b
commit fe7b6d9e80

View File

@ -782,7 +782,7 @@ class TestFilePng:
ImageFile.LOAD_TRUNCATED_IMAGES = True
try:
with Image.open("Tests/images/end_trunc_file.png") as im:
assert_image_equal_tofile(im, "Tests/images/end_trunc_file.png")
assert_image_equal_tofile(im, "Tests/images/hopper.png")
finally:
ImageFile.LOAD_TRUNCATED_IMAGES = False