Skip to content

Commit 5363c47

Browse files
committed
fix: Fix sanic tests
1 parent 20462e4 commit 5363c47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integrations/sanic/test_sanic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def myhandler(request, exception):
114114
for frame in exception["stacktrace"]["frames"]
115115
)
116116

117-
exception = event2["exception"]["values"][0]
117+
exception = event2["exception"]["values"][-1]
118118
assert exception["type"] == "ZeroDivisionError"
119119
assert any(
120120
frame["filename"].endswith("test_sanic.py")

0 commit comments

Comments
 (0)