mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-04-22 02:01:59 +03:00
Corrected type check
This commit is contained in:
parent
fa58313c41
commit
322e121a92
|
@ -16,7 +16,7 @@ def test_load() -> None:
|
|||
with Image.open("Tests/images/gbr.gbr") as im:
|
||||
px = im.load()
|
||||
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
|
||||
px = im.load()
|
||||
|
|
Loading…
Reference in New Issue
Block a user