@@ -791,21 +791,21 @@ def test_table_output_format(self):
791791class TestAsyncioToolsEdgeCases (unittest .TestCase ):
792792
793793 def test_task_awaits_self (self ):
794- """A task directly awaits itself – should raise a cycle."""
794+ """A task directly awaits itself - should raise a cycle."""
795795 input_ = [(1 , [(1 , "Self-Awaiter" , [[["loopback" ], 1 ]])])]
796796 with self .assertRaises (tools .CycleFoundException ) as ctx :
797797 tools .build_async_tree (input_ )
798798 self .assertIn ([1 , 1 ], ctx .exception .cycles )
799799
800800 def test_task_with_missing_awaiter_id (self ):
801- """Awaiter ID not in task list – should not crash, just show 'Unknown'."""
801+ """Awaiter ID not in task list - should not crash, just show 'Unknown'."""
802802 input_ = [(1 , [(1 , "Task-A" , [[["coro" ], 999 ]])])] # 999 not defined
803803 table = tools .build_task_table (input_ )
804804 self .assertEqual (len (table ), 1 )
805805 self .assertEqual (table [0 ][4 ], "Unknown" )
806806
807807 def test_duplicate_coroutine_frames (self ):
808- """Same coroutine frame repeated under a parent – should deduplicate."""
808+ """Same coroutine frame repeated under a parent - should deduplicate."""
809809 input_ = [
810810 (
811811 1 ,
@@ -829,7 +829,7 @@ def test_duplicate_coroutine_frames(self):
829829 self .assertIn ("Task-1" , flat )
830830
831831 def test_task_with_no_name (self ):
832- """Task with no name in id2name – should still render with fallback."""
832+ """Task with no name in id2name - should still render with fallback."""
833833 input_ = [(1 , [(1 , "root" , [[["f1" ], 2 ]]), (2 , None , [])])]
834834 # If name is None, fallback to string should not crash
835835 tree = tools .build_async_tree (input_ )
0 commit comments