Skip to content

Commit 501481e

Browse files
committed
test: Remove skipped test
This test appears to be testing functionality no longer in the SDK.
1 parent 05e1bff commit 501481e

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

tests/tracing/test_deprecated.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,6 @@
99
from sentry_sdk.tracing import Span
1010

1111

12-
@pytest.mark.skip(reason="This deprecated feature has been removed in SDK 2.0.")
13-
def test_start_span_to_start_transaction(sentry_init, capture_events):
14-
# XXX: this only exists for backwards compatibility with code before
15-
# Transaction / start_transaction were introduced.
16-
sentry_init(traces_sample_rate=1.0)
17-
events = capture_events()
18-
19-
with start_span(transaction="/1/"):
20-
pass
21-
22-
with start_span(Span(transaction="/2/")):
23-
pass
24-
25-
assert len(events) == 2
26-
assert events[0]["transaction"] == "/1/"
27-
assert events[1]["transaction"] == "/2/"
28-
29-
3012
@pytest.mark.parametrize(
3113
"parameter_value_getter",
3214
# Use lambda to avoid Hub deprecation warning here (will suppress it in the test)

0 commit comments

Comments
 (0)