mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-22 14:03:06 +03:00
Fix mypy
This commit is contained in:
parent
48bbc64c72
commit
088f80d20d
|
@ -106,4 +106,5 @@ def test_lifetime2() -> None:
|
||||||
|
|
||||||
img2 = img.copy()
|
img2 = img.copy()
|
||||||
px = img2.load()
|
px = img2.load()
|
||||||
|
assert px # make mypy happy
|
||||||
assert isinstance(px[0, 0], int)
|
assert isinstance(px[0, 0], int)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user