From 45c4ba7a5f730821e8117944e959a7bd7b04c8cc Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sun, 17 May 2020 11:04:02 +1000 Subject: [PATCH] Simplified test case --- Tests/test_file_gbr.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Tests/test_file_gbr.py b/Tests/test_file_gbr.py index 25e624886..b95970889 100644 --- a/Tests/test_file_gbr.py +++ b/Tests/test_file_gbr.py @@ -17,8 +17,9 @@ def test_gbr_file(): assert_image_equal(target, im) -def test_multiples_operation(): +def test_multiple_load_operations(): with Image.open("Tests/images/gbr.gbr") as im: - rect = (0, 0, 10, 10) - im.crop(rect) - im.crop(rect) + im.load() + im.load() + with Image.open("Tests/images/gbr.png") as target: + assert_image_equal(target, im)