From 41b16c030f6e48ea4c0a3b50b0debe86e43af34a Mon Sep 17 00:00:00 2001 From: Pablo Galindo Salgado Date: Sun, 28 Jun 2026 15:50:39 +0100 Subject: [PATCH] gh-152434: Avoid Gecko export in async-aware test --- .../test_profiling/test_sampling_profiler/test_collectors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_profiling/test_sampling_profiler/test_collectors.py b/Lib/test/test_profiling/test_sampling_profiler/test_collectors.py index d440c44385e6713..7746811014a9e2f 100644 --- a/Lib/test/test_profiling/test_sampling_profiler/test_collectors.py +++ b/Lib/test/test_profiling/test_sampling_profiler/test_collectors.py @@ -711,7 +711,7 @@ def test_gecko_collector_async_aware(self): [MockAwaitedInfo(thread_id=100, awaited_by=[parent, child])], timestamps_us=[1000, 2000], ) - profile_data = export_gecko_profile(self, collector) + profile_data = collector._build_profile() self.assertEqual(len(profile_data["threads"]), 1) thread_data = profile_data["threads"][0]