Skip to content

Commit 19d3068

Browse files
committed
Remove unneeded asyncio marks
1 parent 08b7deb commit 19d3068

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

tests/common/test_tracing.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ def add_nums(a, b):
4343
mock_span.set_attribute.assert_any_call("function.result", "5")
4444

4545

46-
@pytest.mark.asyncio
4746
async def test_async_function_default_params(mock_tracer):
4847
"""
4948
Test an asynchronous function with default decorator parameters.
@@ -129,7 +128,6 @@ def sync_func(a, b):
129128
assert call("function.result") not in mock_span.set_attribute.call_args_list
130129

131130

132-
@pytest.mark.asyncio
133131
async def test_disable_result_in_span(mock_tracer):
134132
"""
135133
Test an asynchronous function with `add_result_to_span` set to False.

tests/http_app/routes/ws/test_chat.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ def test_client_disconnect(test_client):
5252
assert disconnect_message == "Client #1 left the chat"
5353

5454

55-
@pytest.mark.asyncio
5655
async def test_connection_manager():
5756
manager = ConnectionManager()
5857

0 commit comments

Comments
 (0)