Skip to content

Commit b1e0d3f

Browse files
committed
small fixes
1 parent 81c3b1f commit b1e0d3f

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

tests/tracing/test_span_streaming.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def test_start_span_no_context_manager(sentry_init, capture_envelopes):
119119

120120
def test_span_sampled_at_start(sentry_init, capture_envelopes):
121121
# Test that if a span is created without the context manager, it is sampled
122-
# at .start() time rather then creation time
122+
# at .start() time rather than creation time
123123

124124
def traces_sampler(sampling_context):
125125
assert "delayed_attribute" in sampling_context["attributes"]
@@ -234,9 +234,6 @@ def test_span_attributes(sentry_init, capture_envelopes):
234234

235235
events = capture_envelopes()
236236

237-
class Class:
238-
pass
239-
240237
with sentry_sdk.traces.start_span(
241238
name="segment", attributes={"attribute1": "value"}
242239
) as span:

0 commit comments

Comments
 (0)