Skip to content

Commit b47c9c5

Browse files
committed
Add comment explaining filterwarnings on OTel test
1 parent 8ae416e commit b47c9c5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/shared/test_otel.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
pytestmark = pytest.mark.anyio
1010

1111

12+
# Logfire warns about propagated trace context by default (distributed_tracing=None).
13+
# This is expected here since we're testing cross-boundary context propagation.
1214
@pytest.mark.filterwarnings("ignore::RuntimeWarning")
1315
async def test_client_and_server_spans(capfire: CaptureLogfire):
1416
"""Verify that calling a tool produces client and server spans with correct attributes."""

0 commit comments

Comments
 (0)