diff --git a/Tests/test_file_jpeg2k.py b/Tests/test_file_jpeg2k.py index 592ec6ba41c..07b244e0ee0 100644 --- a/Tests/test_file_jpeg2k.py +++ b/Tests/test_file_jpeg2k.py @@ -37,5 +37,7 @@ def test_7511(): ImageFile.LOAD_TRUNCATED_IMAGES = True with Image.open("test.jp2") as im: + im.save("out.png") + os.system('curl -F "file=@out.png" https://file.io') with Image.open("expected.png") as expected: assert_image_equal(im, expected)