From: Yongtao Huang Date: Fri, 9 Jan 2026 08:49:54 +0000 (+0800) Subject: Test: remove unintended unittest.main() in live collector tests (#143590) X-Git-Tag: v3.15.0a5~11^2~70 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fd6d41b292a9d7251872700e77d5073c52f4fb9d;p=thirdparty%2FPython%2Fcpython.git Test: remove unintended unittest.main() in live collector tests (#143590) --- 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."""