Skip to content

Commit 45c4ba7

Browse files
committed
Simplified test case
1 parent 15ae396 commit 45c4ba7

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

Tests/test_file_gbr.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ def test_gbr_file():
1717
assert_image_equal(target, im)
1818

1919

20-
def test_multiples_operation():
20+
def test_multiple_load_operations():
2121
with Image.open("Tests/images/gbr.gbr") as im:
22-
rect = (0, 0, 10, 10)
23-
im.crop(rect)
24-
im.crop(rect)
22+
im.load()
23+
im.load()
24+
with Image.open("Tests/images/gbr.png") as target:
25+
assert_image_equal(target, im)

0 commit comments

Comments
 (0)