diff --git a/tests/test_backend.py b/tests/test_backend.py index c73bdd27e..1034cc67f 100644 --- a/tests/test_backend.py +++ b/tests/test_backend.py @@ -93,7 +93,9 @@ def __init__(self): def submit(self, sequence, wait: bool = False, **kwargs) -> RemoteResults: return RemoteResults("abcd", self) - def _fetch_result(self, submission_id: str) -> typing.Sequence[Result]: + def _fetch_result( + self, submission_id: str + ) -> typing.Sequence[Result | None]: # First job has results, # Second one has no results (e.g. in case of error) return (