diff --git a/gymnasium/vector/async_vector_env.py b/gymnasium/vector/async_vector_env.py index 9bd28fb02..4fda67bbf 100644 --- a/gymnasium/vector/async_vector_env.py +++ b/gymnasium/vector/async_vector_env.py @@ -613,7 +613,7 @@ def _assert_is_running(self): f"Trying to operate on `{type(self).__name__}`, after a call to `close()`." ) - def _raise_if_errors(self, successes: list[bool]): + def _raise_if_errors(self, successes: list[bool] | tuple[bool]): if all(successes): return