From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 28 Jun 2026 16:19:01 +0000 (+0200) Subject: [3.15] gh-152434: Avoid Gecko export in async-aware test (GH-152496) (#152498) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45cf30805c96a5e0bcaa05b10cb829879f021cfb;p=thirdparty%2FPython%2Fcpython.git [3.15] gh-152434: Avoid Gecko export in async-aware test (GH-152496) (#152498) --- 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]