]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.15] gh-152434: Avoid Gecko export in async-aware test (GH-152496) (#152498)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 28 Jun 2026 16:19:01 +0000 (18:19 +0200)
committerGitHub <noreply@github.com>
Sun, 28 Jun 2026 16:19:01 +0000 (18:19 +0200)
Lib/test/test_profiling/test_sampling_profiler/test_collectors.py

index d440c44385e671345118a4d43891f7de70ac378b..7746811014a9e2f0c2531051e97b11d362c8d630 100644 (file)
@@ -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]