Skip to content

Commit 38f4c7b

Browse files
authored
Merge pull request #7950 from Yay295/patch-1
Rename test_roundtrip() to test_mode()
2 parents 06b71f7 + 1635e7a commit 38f4c7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/test_image_getdata.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def test_sanity() -> None:
1414
assert data[0] == (20, 20, 70)
1515

1616

17-
def test_roundtrip() -> None:
17+
def test_mode() -> None:
1818
def getdata(mode: str) -> tuple[float | tuple[int, ...], int, int]:
1919
im = hopper(mode).resize((32, 30), Image.Resampling.NEAREST)
2020
data = im.getdata()

0 commit comments

Comments
 (0)