Skip to content

Commit

Permalink
Updated argument types to match Image draft
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Dec 27, 2024
1 parent 0148684 commit 89f1498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/test_image_thumbnail.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def test_load_first_unless_jpeg(monkeypatch: pytest.MonkeyPatch) -> None:
original_draft = im.draft

def im_draft(
mode: str, size: tuple[int, int]
mode: str | None, size: tuple[int, int] | None
) -> tuple[str, tuple[int, int, float, float]] | None:
result = original_draft(mode, size)
assert result is not None
Expand Down

0 comments on commit 89f1498

Please sign in to comment.