mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-23 07:10:33 +03:00
commit
f6d227e128
|
@ -16,7 +16,7 @@ def test_load() -> None:
|
||||||
with Image.open("Tests/images/gbr.gbr") as im:
|
with Image.open("Tests/images/gbr.gbr") as im:
|
||||||
px = im.load()
|
px = im.load()
|
||||||
assert px is not None
|
assert px is not None
|
||||||
assert im.load()[0, 0] == (0, 0, 0, 0)
|
assert px[0, 0] == (0, 0, 0, 0)
|
||||||
|
|
||||||
# Test again now that it has already been loaded once
|
# Test again now that it has already been loaded once
|
||||||
px = im.load()
|
px = im.load()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user