convert_to_seconds allow negative time strings and add pytests

This commit is contained in:
Clemens Schwaighofer
2025-09-24 15:25:53 +09:00
parent 7c72d99619
commit ef5981b473
6 changed files with 224 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ from types import TracebackType
# _typeshed.OptExcInfo
OptExcInfo = Tuple[None, None, None] | Tuple[Type[BaseException], BaseException, TracebackType]
def call_stack(
start: int = 0,
skip_last: int = -1,