File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4591,27 +4591,19 @@ def test_async_break(self):
45914591 script = """
45924592 import asyncio
45934593
4594- async def do_something():
4595- test_str = "second break"
4596-
45974594 async def main():
4598- test_str = "first break"
4599- await do_something()
4595+ test_str = "test break"
46004596
46014597 asyncio.run(main())
46024598 """
46034599 commands = """
46044600 break main
4605- break do_something
4606- continue
46074601 continue
46084602 quit
46094603 """
46104604 stdout , stderr = self .run_pdb_script (script , commands )
4611- self .assertRegex (stdout , r"Breakpoint 1 at .*main\.py:8" )
4612- self .assertRegex (stdout , r"Breakpoint 2 at .*main\.py:5" )
4613- self .assertIn ("first break" , stdout )
4614- self .assertIn ("second break" , stdout )
4605+ self .assertRegex (stdout , r"Breakpoint 1 at .*main\.py:5" )
4606+ self .assertIn ("test break" , stdout )
46154607
46164608
46174609class ChecklineTests (unittest .TestCase ):
You can’t perform that action at this time.
0 commit comments