8000 fix: Fix sanic tests · etherscan-io/sentry-python@d0dd3bc · GitHub
[go: up one dir, main page]

Skip to content

Commit d0dd3bc

Browse files
committed
fix: Fix sanic tests
1 parent 8198269 commit d0dd3bc

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
@@ -112,7 +112,7 @@ def myhandler(request, exception):
112112
for frame in exception["stacktrace"]["frames"]
113113
)
114114

115-
exception, = event2["exception"]["values"]
115+
exception = event2["exception"]["values"][0]
116116
assert exception["type"] == "ZeroDivisionError"
117117
assert any(
118118
frame["filename"].endswith("test_sanic.py")

0 commit comments

Comments
 (0)
0