Skip to content

Commit

Permalink
Added type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Oct 13, 2024
1 parent ee3c46a commit 10816f1
Show file tree
Hide file tree
Showing 3 changed files with 124 additions and 99 deletions.
4 changes: 2 additions & 2 deletions Tests/check_avif_leaks.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
]


def test_leak_load():
def test_leak_load() -> None:
from resource import RLIMIT_AS, RLIMIT_STACK, setrlimit

setrlimit(RLIMIT_STACK, (stack_size, stack_size))
Expand All @@ -30,7 +30,7 @@ def test_leak_load():
im.load()


def test_leak_save():
def test_leak_save() -> None:
from resource import RLIMIT_AS, RLIMIT_STACK, setrlimit

setrlimit(RLIMIT_STACK, (stack_size, stack_size))
Expand Down
Loading

0 comments on commit 10816f1

Please sign in to comment.