mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Rename test_roundtrip() to test_hopper()
This test isn't actually roundtripping anything.
This commit is contained in:
parent
06b71f714f
commit
6a255de24f
|
@ -14,7 +14,7 @@ def test_sanity() -> None:
|
||||||
assert data[0] == (20, 20, 70)
|
assert data[0] == (20, 20, 70)
|
||||||
|
|
||||||
|
|
||||||
def test_roundtrip() -> None:
|
def test_hopper() -> None:
|
||||||
def getdata(mode: str) -> tuple[float | tuple[int, ...], int, int]:
|
def getdata(mode: str) -> tuple[float | tuple[int, ...], int, int]:
|
||||||
im = hopper(mode).resize((32, 30), Image.Resampling.NEAREST)
|
im = hopper(mode).resize((32, 30), Image.Resampling.NEAREST)
|
||||||
data = im.getdata()
|
data = im.getdata()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user