diff --git a/tests/pipeline/test_resources_evaluation.py b/tests/pipeline/test_resources_evaluation.py index 4062897334..c938498426 100644 --- a/tests/pipeline/test_resources_evaluation.py +++ b/tests/pipeline/test_resources_evaluation.py @@ -168,7 +168,7 @@ def source(): elif resource_mode in ["second_async"]: assert execution_order == ["one", "one", "one", "two", "two", "two"] else: - assert False, "Should not reach here" + raise AssertionError("Unknown combination") def test_limit_async_resource() -> None: