Skip to content

Commit 8d440f7

Browse files
committed
Removed unused argument
1 parent 6cc5f1f commit 8d440f7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Tests/test_file_gif.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1242,7 +1242,7 @@ def test_rgba_transparency(tmp_path: Path) -> None:
12421242
assert_image_equal(hopper("P").convert("RGB"), reloaded)
12431243

12441244

1245-
def test_background_outside_palettte(tmp_path: Path) -> None:
1245+
def test_background_outside_palettte() -> None:
12461246
with Image.open("Tests/images/background_outside_palette.gif") as im:
12471247
im.seek(1)
12481248
assert im.info["background"] == 255

Tests/test_file_tga.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def roundtrip(original_im: Image.Image) -> None:
6565
roundtrip(original_im)
6666

6767

68-
def test_palette_depth_8(tmp_path: Path) -> None:
68+
def test_palette_depth_8() -> None:
6969
with pytest.raises(UnidentifiedImageError):
7070
Image.open("Tests/images/p_8.tga")
7171

0 commit comments

Comments
 (0)