mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-14 10:30:55 +03:00
Updated argument types to match Image draft
This commit is contained in:
parent
0148684c24
commit
89f1498796
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user