mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-28 09:43:05 +03:00
Removed unused argument
This commit is contained in:
parent
6cc5f1f0ad
commit
8d440f734b
|
@ -1242,7 +1242,7 @@ def test_rgba_transparency(tmp_path: Path) -> None:
|
|||
assert_image_equal(hopper("P").convert("RGB"), reloaded)
|
||||
|
||||
|
||||
def test_background_outside_palettte(tmp_path: Path) -> None:
|
||||
def test_background_outside_palettte() -> None:
|
||||
with Image.open("Tests/images/background_outside_palette.gif") as im:
|
||||
im.seek(1)
|
||||
assert im.info["background"] == 255
|
||||
|
|
|
@ -65,7 +65,7 @@ def test_sanity(mode: str, tmp_path: Path) -> None:
|
|||
roundtrip(original_im)
|
||||
|
||||
|
||||
def test_palette_depth_8(tmp_path: Path) -> None:
|
||||
def test_palette_depth_8() -> None:
|
||||
with pytest.raises(UnidentifiedImageError):
|
||||
Image.open("Tests/images/p_8.tga")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user