Skip to content

Commit

Permalink
Removed outdated test assert
Browse files Browse the repository at this point in the history
  • Loading branch information
antonpirker committed Sep 11, 2024
1 parent 6f44f6d commit 5401ed2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/tracing/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ def test_transaction_naming(sentry_init, capture_events):
sentry_init(traces_sample_rate=1.0)
events = capture_events()

# only transactions have names - spans don't
with pytest.raises(TypeError):
start_span(name="foo")
assert len(events) == 0

# default name in event if no name is passed
with start_transaction() as transaction:
pass
Expand Down

0 comments on commit 5401ed2

Please sign in to comment.