##// END OF EJS Templates
Fix test
Quentin Peter -
Show More
@@ -32,6 +32,7 b' from IPython.utils.io import capture_output'
32 32 from IPython.utils.tempdir import (TemporaryDirectory,
33 33 TemporaryWorkingDirectory)
34 34 from IPython.utils.process import find_cmd
35 from .test_debugger import PdbTestInput
35 36
36 37
37 38 @magic.magics_class
@@ -602,13 +603,13 b' def doctest_precision():'
602 603 def test_debug_magic():
603 604 """Test debugging a small code with %debug
604 605
605 In [1]: %debug print("a b")
606 In [1]: with PdbTestInput(['c']):
607 ...: %debug print("a b")
608 ...:
606 609 NOTE: Enter 'c' at the ipdb> prompt to continue execution.
607 610 > <string>(1)<module>()
608
609 611 ipdb> c
610 612 a b
611
612 613 In [2]:
613 614 """
614 615
General Comments 0
You need to be logged in to leave comments. Login now