Skip to content

Commit

Permalink
Update Tests/test_image_getdata.py
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Murray <[email protected]>
  • Loading branch information
Yay295 and radarhere authored Apr 6, 2024
1 parent 6a255de commit 1635e7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/test_image_getdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def test_sanity() -> None:
assert data[0] == (20, 20, 70)


def test_hopper() -> None:
def test_mode() -> None:
def getdata(mode: str) -> tuple[float | tuple[int, ...], int, int]:
im = hopper(mode).resize((32, 30), Image.Resampling.NEAREST)
data = im.getdata()
Expand Down

0 comments on commit 1635e7a

Please sign in to comment.