Test debugging a small code with %debug In [1]: with PdbTestInput(['c']): ...: %debug print("a b") #doctest: +ELLIPSIS ...: ... ipdb> c a b In [2]:
()
| 624 | """ |
| 625 | |
| 626 | def test_debug_magic(): |
| 627 | """Test debugging a small code with %debug |
| 628 | |
| 629 | In [1]: with PdbTestInput(['c']): |
| 630 | ...: %debug print("a b") #doctest: +ELLIPSIS |
| 631 | ...: |
| 632 | ... |
| 633 | ipdb> c |
| 634 | a b |
| 635 | In [2]: |
| 636 | """ |
| 637 | |
| 638 | def test_psearch(): |
| 639 | with tt.AssertPrints("dict.fromkeys"): |
nothing calls this directly
no outgoing calls
no test coverage detected