Skip to content

Commit 71cc30a

Browse files
.
1 parent ed1df01 commit 71cc30a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/integrations/rq/test_rq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ def test_tracing_enabled(
307307
assert error_event["contexts"]["trace"]["trace_id"] == span.trace_id
308308

309309
sentry_sdk.flush()
310-
spans = [item.payload for item in items]
310+
spans = [item.payload for item in items if item.type == "span"]
311311
(span,) = (
312312
span
313313
for span in spans

0 commit comments

Comments
 (0)