MCPcopy Index your code
hub / github.com/ipython/ipython / test_decorator_skip

Function test_decorator_skip

tests/test_debugger.py:479–499  ·  view source on GitHub ↗

test that decorator frames can be skipped.

()

Source from the content-addressed store, hash-verified

477@pytest.mark.skip(reason="recently fail for unknown reason on CI")
478@skip_win32
479def test_decorator_skip():
480 """test that decorator frames can be skipped."""
481
482 child = _decorator_skip_setup()
483
484 child.expect_exact("ipython-input-8")
485 child.expect_exact("3 bar(3, 4)")
486 child.expect("ipdb>")
487
488 child.expect("ipdb>")
489 child.sendline("step")
490 child.expect_exact("step")
491 child.expect_exact("--Call--")
492 child.expect_exact("ipython-input-6")
493
494 child.expect_exact("1 @pdb_skipped_decorator")
495
496 child.sendline("s")
497 child.expect_exact("return x * y")
498
499 child.close()
500
501
502@pytest.mark.skip(reason="recently fail for unknown reason on CI")

Callers

nothing calls this directly

Calls 2

_decorator_skip_setupFunction · 0.85
closeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…