mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 09:14:27 +03:00
Simplified test case
This commit is contained in:
parent
15ae39674e
commit
45c4ba7a5f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user