diff --git a/ros2_easy_test/ros2_easy_test/decorators.py b/ros2_easy_test/ros2_easy_test/decorators.py index 7ed77b8..3b85282 100644 --- a/ros2_easy_test/ros2_easy_test/decorators.py +++ b/ros2_easy_test/ros2_easy_test/decorators.py @@ -357,7 +357,9 @@ def wrapper(*args_inner, **kwargs_inner) -> None: return_code = ros2_process.wait(timeout=shutdown_timeout / 2) # Check return codes - return_code_problematic = acceptable_return_codes and return_code not in acceptable_return_codes + return_code_problematic = ( + acceptable_return_codes and return_code not in acceptable_return_codes + ) if return_code_problematic: if test_function_exception is None: