Skip to content

Commit d750512

Browse files
test(stdlib): Only capture relevant telemetry with capture_items() (#6214)
1 parent a5f5a8d commit d750512

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/integrations/stdlib/test_subprocess.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def test_subprocess_basic(
6767
)
6868

6969
if span_streaming:
70-
items = capture_items("event", "transaction", "span")
70+
items = capture_items("event", "span")
7171

7272
with sentry_sdk.traces.start_span(name="custom parent") as span:
7373
args = [
@@ -350,7 +350,7 @@ def test_subprocess_span_origin(
350350
)
351351

352352
if span_streaming:
353-
items = capture_items("event", "transaction", "span")
353+
items = capture_items("span")
354354

355355
with sentry_sdk.traces.start_span(name="custom parent"):
356356
args = [

0 commit comments

Comments
 (0)