Skip to content

Commit

Permalink
3.7 throws this error differently
Browse files Browse the repository at this point in the history
  • Loading branch information
Sushisource committed Oct 20, 2023
1 parent 953b8e4 commit 2e54df6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/worker/test_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -3664,8 +3664,8 @@ async def test_workflow_update_handlers_unhappy(client: Client):
await handle.execute_update("last_event", args=[121, "badarg"])
assert isinstance(err.value.cause, ApplicationError)
assert (
"UpdateHandlersWorkflow.last_event_validator() takes 2 positional arguments but 3 were given"
== err.value.cause.message
"last_event_validator() takes 2 positional arguments but 3 were given"
in err.value.cause.message
)

# Un-deserializeable nonsense
Expand Down

0 comments on commit 2e54df6

Please sign in to comment.