Skip to content

Commit d4f8c59

Browse files
committed
fix: Fix Pyramid tests
1 parent ea289c9 commit d4f8c59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integrations/pyramid/test_pyramid.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def error_handler(err, request):
267267
exception, = event1["exception"]["values"]
268268
assert exception["type"] == "ValueError"
269269

270-
exception = event2["exception"]["values"][0]
270+
exception = event2["exception"]["values"][-1]
271271
assert exception["type"] == "ZeroDivisionError"
272272

273273

0 commit comments

Comments
 (0)