From 6a255de24fadfb2daf52f1fa86849611078127ab Mon Sep 17 00:00:00 2001 From: Yay295 Date: Sat, 6 Apr 2024 11:14:38 -0500 Subject: [PATCH] Rename test_roundtrip() to test_hopper() This test isn't actually roundtripping anything. --- Tests/test_image_getdata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/test_image_getdata.py b/Tests/test_image_getdata.py index ac27400be..9181b2409 100644 --- a/Tests/test_image_getdata.py +++ b/Tests/test_image_getdata.py @@ -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()