From: Pablo Galindo Salgado Date: Sun, 28 Jun 2026 15:24:05 +0000 (+0200) Subject: gh-152434: Avoid Gecko export in async-aware test (#152496) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5287a449847a783af257eec3df776ce013881b2e;p=thirdparty%2FPython%2Fcpython.git gh-152434: Avoid Gecko export in async-aware test (#152496) --- 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 d440c44385e6..7746811014a9 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 @@ class TestSampleProfilerComponents(unittest.TestCase): [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]