https://github.com/python/cpython/commit/5287a449847a783af257eec3df776ce013881b2e
commit: 5287a449847a783af257eec3df776ce013881b2e
branch: main
author: Pablo Galindo Salgado <[email protected]>
committer: pablogsal <[email protected]>
date: 2026-06-28T15:24:05Z
summary:

gh-152434: Avoid Gecko export in async-aware test (#152496)

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