https://github.com/python/cpython/commit/fd6d41b292a9d7251872700e77d5073c52f4fb9d
commit: fd6d41b292a9d7251872700e77d5073c52f4fb9d
branch: main
author: Yongtao Huang <[email protected]>
committer: pablogsal <[email protected]>
date: 2026-01-09T08:49:54Z
summary:
Test: remove unintended unittest.main() in live collector tests (#143590)
files:
M
Lib/test/test_profiling/test_sampling_profiler/test_live_collector_interaction.py
diff --git
a/Lib/test/test_profiling/test_sampling_profiler/test_live_collector_interaction.py
b/Lib/test/test_profiling/test_sampling_profiler/test_live_collector_interaction.py
index 8342faffb94762..baf478133fc665 100644
---
a/Lib/test/test_profiling/test_sampling_profiler/test_live_collector_interaction.py
+++
b/Lib/test/test_profiling/test_sampling_profiler/test_live_collector_interaction.py
@@ -705,10 +705,6 @@ def test_filter_prompt_displayed(self):
self.assertTrue(self.display.contains_text("myfilter"))
-if __name__ == "__main__":
- unittest.main()
-
-
class TestLiveCollectorThreadNavigation(unittest.TestCase):
"""Tests for thread navigation functionality."""
_______________________________________________
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]