Rename test_roundtrip() to test_hopper()

This test isn't actually roundtripping anything.
This commit is contained in:
Yay295 2024-04-06 11:14:38 -05:00 committed by GitHub
parent 06b71f714f
commit 6a255de24f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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()