From fd6d41b292a9d7251872700e77d5073c52f4fb9d Mon Sep 17 00:00:00 2001 From: Yongtao Huang Date: Fri, 9 Jan 2026 16:49:54 +0800 Subject: [PATCH] Test: remove unintended unittest.main() in live collector tests (#143590) --- .../test_sampling_profiler/test_live_collector_interaction.py | 4 ---- 1 file changed, 4 deletions(-) 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 8342faffb947..baf478133fc6 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 @@ class TestLiveCollectorFilterInput(unittest.TestCase): self.assertTrue(self.display.contains_text("myfilter")) -if __name__ == "__main__": - unittest.main() - - class TestLiveCollectorThreadNavigation(unittest.TestCase): """Tests for thread navigation functionality.""" -- 2.47.3