Skip to content

Commit adc8e9f

Browse files
committed
libtmux(test): Typing fix for retry
1 parent d964cac commit adc8e9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libtmux/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __next__(self):
3333
fixtures_dir = os.path.realpath(os.path.join(current_dir, "fixtures"))
3434

3535

36-
def retry(seconds: Optional[float] = RETRY_TIMEOUT_SECONDS) -> bool:
36+
def retry(seconds: float = RETRY_TIMEOUT_SECONDS) -> bool:
3737
"""
3838
Retry a block of code until a time limit or ``break``.
3939

0 commit comments

Comments
 (0)