@@ -69,7 +69,6 @@ async def test_create_task(
6969):
7070 sentry_init (
7171 traces_sample_rate = 1.0 ,
72- data_collection = {},
7372 integrations = [AsyncioIntegration ()],
7473 )
7574
@@ -118,7 +117,6 @@ async def test_gather(
118117):
119118 sentry_init (
120119 traces_sample_rate = 1.0 ,
121- data_collection = {},
122120 integrations = [AsyncioIntegration ()],
123121 )
124122
@@ -156,7 +154,6 @@ async def test_exception(
156154):
157155 sentry_init (
158156 traces_sample_rate = 1.0 ,
159- data_collection = {},
160157 integrations = [AsyncioIntegration ()],
161158 )
162159
@@ -184,7 +181,6 @@ async def test_exception(
184181async def test_task_result (sentry_init ):
185182 sentry_init (
186183 integrations = [AsyncioIntegration ()],
187- data_collection = {},
188184 )
189185
190186 async def add (a , b ):
@@ -202,7 +198,6 @@ async def test_task_with_context(sentry_init):
202198 """
203199 sentry_init (
204200 integrations = [AsyncioIntegration ()],
205- data_collection = {},
206201 )
207202
208203 var = ContextVar ("var" )
@@ -374,7 +369,6 @@ async def test_span_origin(
374369 sentry_init (
375370 integrations = [AsyncioIntegration ()],
376371 traces_sample_rate = 1.0 ,
377- data_collection = {},
378372 )
379373
380374 items = capture_items ("span" )
@@ -408,7 +402,6 @@ async def test_task_spans_false(
408402 sentry_init (
409403 traces_sample_rate = 1.0 ,
410404 integrations = [AsyncioIntegration (task_spans = False )],
411- data_collection = {},
412405 )
413406
414407 items = capture_items ("span" )
@@ -441,7 +434,6 @@ async def test_enable_asyncio_integration_with_task_spans_false(
441434
442435 sentry_init (
443436 traces_sample_rate = 1.0 ,
444- data_collection = {},
445437 )
446438
447439 assert "asyncio" not in sentry_sdk .get_client ().integrations
@@ -473,7 +465,6 @@ async def test_delayed_enable_integration(
473465):
474466 sentry_init (
475467 traces_sample_rate = 1.0 ,
476- data_collection = {},
477468 )
478469
479470 assert "asyncio" not in sentry_sdk .get_client ().integrations
@@ -514,7 +505,6 @@ async def test_delayed_enable_integration(
514505async def test_delayed_enable_integration_with_options (sentry_init ):
515506 sentry_init (
516507 traces_sample_rate = 1.0 ,
517- data_collection = {},
518508 )
519509
520510 assert "asyncio" not in sentry_sdk .get_client ().integrations
@@ -545,7 +535,6 @@ async def test_delayed_enable_enabled_integration(sentry_init, uninstall_integra
545535 sentry_init (
546536 integrations = [integration ],
547537 traces_sample_rate = 1.0 ,
548- data_collection = {},
549538 )
550539
551540 assert "asyncio" in sentry_sdk .get_client ().integrations
@@ -573,7 +562,6 @@ async def test_delayed_enable_integration_after_disabling(
573562 sentry_init (
574563 disabled_integrations = [AsyncioIntegration ()],
575564 traces_sample_rate = 1.0 ,
576- data_collection = {},
577565 )
578566
579567 assert "asyncio" not in sentry_sdk .get_client ().integrations
@@ -620,7 +608,6 @@ async def test_internal_tasks_not_wrapped(
620608 sentry_init (
621609 integrations = [AsyncioIntegration ()],
622610 traces_sample_rate = 1.0 ,
623- data_collection = {},
624611 )
625612
626613 async def user_task ():
@@ -662,7 +649,6 @@ async def internal_task():
662649def test_loop_close_patching (sentry_init ):
663650 sentry_init (
664651 integrations = [AsyncioIntegration ()],
665- data_collection = {},
666652 )
667653
668654 loop = asyncio .new_event_loop ()
@@ -689,7 +675,6 @@ def test_loop_close_flushes_async_transport(sentry_init):
689675
690676 sentry_init (
691677 integrations = [AsyncioIntegration ()],
692- data_collection = {},
693678 )
694679
695680 # Save the current event loop to restore it later
0 commit comments