Skip to content

Commit a673510

Browse files
committed
remove unintended unittest.main() in live collector tests
The test file contained a stray `unittest.main()` in the middle of the module. Remove it. Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
1 parent 68a01f9 commit a673510

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Lib/test/test_profiling/test_sampling_profiler/test_live_collector_interaction.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -705,10 +705,6 @@ def test_filter_prompt_displayed(self):
705705
self.assertTrue(self.display.contains_text("myfilter"))
706706

707707

708-
if __name__ == "__main__":
709-
unittest.main()
710-
711-
712708
class TestLiveCollectorThreadNavigation(unittest.TestCase):
713709
"""Tests for thread navigation functionality."""
714710

0 commit comments

Comments
 (0)