Skip to content

Commit

Permalink
Merge pull request #7950 from Yay295/patch-1
Browse files Browse the repository at this point in the history
Rename test_roundtrip() to test_mode()
  • Loading branch information
hugovk committed Apr 6, 2024
2 parents 06b71f7 + 1635e7a commit 38f4c7b
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_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 38f4c7b

Please sign in to comment.