Added type hint

This commit is contained in:
Andrew Murray 2026-02-10 21:59:50 +11:00 committed by GitHub
parent 6a421d7fcb
commit 797b4e1aaf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -553,6 +553,6 @@ def test_save_large_file(tmp_path: Path, pixel_format: str, mode: str) -> None:
"Tests/images/timeout-c60a3d7314213624607bfb3e38d551a8b24a7435.dds",
],
)
def test_timeout(test_file) -> None:
def test_timeout(test_file: str) -> None:
with Image.open(test_file) as im:
im.load()