From 5a078f49aee12d838a03f8306b01e1a6a31aba0f Mon Sep 17 00:00:00 2001 From: Pablo Galindo Salgado Date: Sun, 28 Jun 2026 17:24:05 +0200 Subject: [PATCH] gh-152434: Avoid Gecko export in async-aware test (GH-152496) (cherry picked from commit 5287a449847a783af257eec3df776ce013881b2e) Co-authored-by: Pablo Galindo Salgado --- .../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 d440c44385e671..7746811014a9e2 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]