##// END OF EJS Templates
Autoformat with darker
Thomas Kluyver -
Show More
@@ -139,8 +139,8 b' def test_ipdb_magics():'
139 <BLANKLINE>
139 <BLANKLINE>
140 ipdb> continue
140 ipdb> continue
141
141
142 Restore previous trace function, e.g. for coverage.py
142 Restore previous trace function, e.g. for coverage.py
143
143
144 In [6]: sys.settrace(old_trace)
144 In [6]: sys.settrace(old_trace)
145 '''
145 '''
146
146
@@ -506,13 +506,17 b' def test_decorator_skip_with_breakpoint():'
506 child.expect_exact("--> 47 bar(3, 4)")
506 child.expect_exact("--> 47 bar(3, 4)")
507 extra_step = []
507 extra_step = []
508
508
509 for input_, expected in [
509 for input_, expected in (
510 (f"b {name}.py:3", ""),
510 [
511 ] + extra_step + [
511 (f"b {name}.py:3", ""),
512 ("step", "1---> 3 pass # should not stop here except"),
512 ]
513 ("step", "---> 38 @pdb_skipped_decorator"),
513 + extra_step
514 ("continue", ""),
514 + [
515 ]:
515 ("step", "1---> 3 pass # should not stop here except"),
516 ("step", "---> 38 @pdb_skipped_decorator"),
517 ("continue", ""),
518 ]
519 ):
516 child.expect("ipdb>")
520 child.expect("ipdb>")
517 child.sendline(input_)
521 child.sendline(input_)
518 child.expect_exact(input_)
522 child.expect_exact(input_)
General Comments 0
You need to be logged in to leave comments. Login now