]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Test: remove unintended unittest.main() in live collector tests (#143590)
authorYongtao Huang <yongtaoh2022@gmail.com>
Fri, 9 Jan 2026 08:49:54 +0000 (16:49 +0800)
committerGitHub <noreply@github.com>
Fri, 9 Jan 2026 08:49:54 +0000 (08:49 +0000)
Lib/test/test_profiling/test_sampling_profiler/test_live_collector_interaction.py

index 8342faffb947629f4266a23fba049b388e3d4add..baf478133fc66591813b479a50c7eda9bc80f140 100644 (file)
@@ -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."""