Skip to content

Commit f4bc00a

Browse files
committed
fix(asyncio integration): Change loop scope for asyncio test
GH-4699
1 parent b1eff8b commit f4bc00a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integrations/asyncio/test_asyncio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ def test_loop_close_flushes_async_transport(sentry_init):
431431

432432

433433
@minimum_python_38
434-
@pytest.mark.asyncio
434+
@pytest.mark.asyncio(loop_scope="module")
435435
async def test_internal_tasks_not_wrapped(sentry_init, capture_events):
436436

437437
sentry_init(integrations=[AsyncioIntegration()], traces_sample_rate=1.0)

0 commit comments

Comments
 (0)