Skip to content

Commit

Permalink
Rename test_roundtrip() to test_hopper()
Browse files Browse the repository at this point in the history
This test isn't actually roundtripping anything.
  • Loading branch information
Yay295 authored Apr 6, 2024
1 parent 06b71f7 commit 6a255de
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_roundtrip() -> None:
def test_hopper() -> 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 6a255de

Please sign in to comment.