Skip to content

Commit 89f1498

Browse files
committed
Updated argument types to match Image draft
1 parent 0148684 commit 89f1498

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tests/test_image_thumbnail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def test_load_first_unless_jpeg(monkeypatch: pytest.MonkeyPatch) -> None:
110110
original_draft = im.draft
111111

112112
def im_draft(
113-
mode: str, size: tuple[int, int]
113+
mode: str | None, size: tuple[int, int] | None
114114
) -> tuple[str, tuple[int, int, float, float]] | None:
115115
result = original_draft(mode, size)
116116
assert result is not None

0 commit comments

Comments
 (0)