Simplified test case

This commit is contained in:
Andrew Murray 2020-05-17 11:04:02 +10:00
parent 15ae39674e
commit 45c4ba7a5f

View File

@ -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)