Show More
@@ -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 | [ | |||
510 | (f"b {name}.py:3", ""), |
|
511 | (f"b {name}.py:3", ""), | |
511 | ] + extra_step + [ |
|
512 | ] | |
|
513 | + extra_step | |||
|
514 | + [ | |||
512 | ("step", "1---> 3 pass # should not stop here except"), |
|
515 | ("step", "1---> 3 pass # should not stop here except"), | |
513 | ("step", "---> 38 @pdb_skipped_decorator"), |
|
516 | ("step", "---> 38 @pdb_skipped_decorator"), | |
514 | ("continue", ""), |
|
517 | ("continue", ""), | |
515 |
] |
|
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