Skip to content

Commit 20462e4

Browse files
committed
fix: Fix flask tests
1 parent d4f8c59 commit 20462e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integrations/flask/test_flask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ def error_handler(err):
470470
exception, = event1["exception"]["values"]
471471
assert exception["type"] == "ValueError"
472472

473-
exception = event2["exception"]["values"][0]
473+
exception = event2["exception"]["values"][-1]
474474
assert exception["type"] == "ZeroDivisionError"
475475

476476

0 commit comments

Comments
 (0)