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."""