Skip to content

Commit 9f5d6e0

Browse files
hugovknulano
andauthored
Fix type hint
Co-authored-by: Ondrej Baranovič <ondreko.tiba@gmail.com>
1 parent ed5cd18 commit 9f5d6e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tests/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def hopper(mode: str | None = None) -> Image.Image:
266266

267267

268268
@lru_cache(maxsize=None)
269-
def _cached_hopper(mode: str | None = None) -> Image.Image:
269+
def _cached_hopper(mode: str = None) -> Image.Image:
270270
if mode == "F":
271271
im = hopper("L").convert(mode)
272272
else:

0 commit comments

Comments
 (0)