https://github.com/python/cpython/commit/45cf30805c96a5e0bcaa05b10cb829879f021cfb
commit: 45cf30805c96a5e0bcaa05b10cb829879f021cfb
branch: 3.15
author: Miss Islington (bot) <[email protected]>
committer: pablogsal <[email protected]>
date: 2026-06-28T18:19:01+02:00
summary:

[3.15] gh-152434: Avoid Gecko export in async-aware test (GH-152496) (#152498)

files:
M Lib/test/test_profiling/test_sampling_profiler/test_collectors.py

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]

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to