Skip to content

Commit d86d585

Browse files
committed
remove test for deprecation
1 parent 6c17361 commit d86d585

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

tests/tracing/test_integration_tests.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -117,20 +117,6 @@ def test_continue_trace(sentry_init, capture_envelopes, sample_rate): # noqa:N8
117117
assert message_payload["message"] == "hello"
118118

119119

120-
@pytest.mark.parametrize("sample_rate", [0.0, 1.0])
121-
def test_propagate_traces_deprecation_warning(sentry_init, sample_rate):
122-
sentry_init(traces_sample_rate=sample_rate, propagate_traces=False)
123-
124-
with start_span(name="hi"):
125-
with start_span() as old_span:
126-
with pytest.warns(DeprecationWarning):
127-
dict(
128-
sentry_sdk.get_current_scope().iter_trace_propagation_headers(
129-
old_span
130-
)
131-
)
132-
133-
134120
@pytest.mark.parametrize("sample_rate", [0.5, 1.0])
135121
def test_dynamic_sampling_head_sdk_creates_dsc(
136122
sentry_init,

0 commit comments

Comments
 (0)