mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Update Tests/test_image_getdata.py
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
parent
6a255de24f
commit
1635e7a571
|
@ -14,7 +14,7 @@ def test_sanity() -> None:
|
||||||
assert data[0] == (20, 20, 70)
|
assert data[0] == (20, 20, 70)
|
||||||
|
|
||||||
|
|
||||||
def test_hopper() -> None:
|
def test_mode() -> None:
|
||||||
def getdata(mode: str) -> tuple[float | tuple[int, ...], int, int]:
|
def getdata(mode: str) -> tuple[float | tuple[int, ...], int, int]:
|
||||||
im = hopper(mode).resize((32, 30), Image.Resampling.NEAREST)
|
im = hopper(mode).resize((32, 30), Image.Resampling.NEAREST)
|
||||||
data = im.getdata()
|
data = im.getdata()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user