##// END OF EJS Templates
add test
Quentin Peter -
Show More
@@ -727,6 +727,21 b' def test_debug_magic():'
727 727 In [2]:
728 728 """
729 729
730 def test_debug_magic_locals():
731 """Test debugging a small code with %debug with locals
732
733 In [1]: with PdbTestInput(['c']):
734 ...: def fun():
735 ...: res = 1
736 ...: %debug print(res)
737 ...: fun()
738 ...:
739 ...
740 ipdb> c
741 1
742 In [2]:
743 """
744
730 745 def test_psearch():
731 746 with tt.AssertPrints("dict.fromkeys"):
732 747 _ip.run_cell("dict.fr*?")
General Comments 0
You need to be logged in to leave comments. Login now