test that decorator frame skipping can be disabled
()
| 503 | @pytest.mark.skipif(platform.python_implementation() == "PyPy", reason="issues on PyPy") |
| 504 | @skip_win32 |
| 505 | def test_decorator_skip_disabled(): |
| 506 | """test that decorator frame skipping can be disabled""" |
| 507 | |
| 508 | child = _decorator_skip_setup() |
| 509 | |
| 510 | child.expect_exact("3 bar(3, 4)") |
| 511 | |
| 512 | for input_, expected in [ |
| 513 | ("skip_predicates debuggerskip False", ""), |
| 514 | ("skip_predicates", "debuggerskip : False"), |
| 515 | ("step", "---> 2 def wrapped_fn"), |
| 516 | ("step", "----> 3 __debuggerskip__"), |
| 517 | ("step", "----> 4 helper_1()"), |
| 518 | ("step", "---> 1 def helper_1():"), |
| 519 | ("next", "----> 2 helpers_helper()"), |
| 520 | ("next", "--Return--"), |
| 521 | ("next", "----> 5 __debuggerskip__ = False"), |
| 522 | ]: |
| 523 | child.expect("ipdb>") |
| 524 | child.sendline(input_) |
| 525 | child.expect_exact(input_) |
| 526 | child.expect_exact(expected) |
| 527 | |
| 528 | child.close() |
| 529 | |
| 530 | |
| 531 | @pytest.mark.skip(reason="recently fail for unknown reason on CI") |
nothing calls this directly
no test coverage detected
searching dependent graphs…