diff --git a/features/steps/a2a_acp_module_removed_steps.py b/features/steps/a2a_acp_module_removed_steps.py index 8dc0516a8..8068561af 100644 --- a/features/steps/a2a_acp_module_removed_steps.py +++ b/features/steps/a2a_acp_module_removed_steps.py @@ -38,9 +38,7 @@ def step_check_import_error(context: Any) -> None: "Expected ImportError to be raised when importing cleveragents.acp, " "but import succeeded" ) - assert not context.import_succeeded, ( - "Expected import to fail, but it succeeded" - ) + assert not context.import_succeeded, "Expected import to fail, but it succeeded" @then("the error message should indicate the module does not exist")