Skip to content

Commit 2e54df6

Browse files
committed
3.7 throws this error differently
1 parent 953b8e4 commit 2e54df6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/worker/test_workflow.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3664,8 +3664,8 @@ async def test_workflow_update_handlers_unhappy(client: Client):
36643664
await handle.execute_update("last_event", args=[121, "badarg"])
36653665
assert isinstance(err.value.cause, ApplicationError)
36663666
assert (
3667-
"UpdateHandlersWorkflow.last_event_validator() takes 2 positional arguments but 3 were given"
3668-
== err.value.cause.message
3667+
"last_event_validator() takes 2 positional arguments but 3 were given"
3668+
in err.value.cause.message
36693669
)
36703670

36713671
# Un-deserializeable nonsense

0 commit comments

Comments
 (0)