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