##// END OF EJS Templates
Add test for gh-2697
Bradley M. Froehle -
Show More
@@ -121,3 +121,22 b' def test_ipdb_magics():'
121 Constructor Docstring:Docstring for ExampleClass.__init__
121 Constructor Docstring:Docstring for ExampleClass.__init__
122 ipdb> continue
122 ipdb> continue
123 '''
123 '''
124
125 def test_ipdb_magics():
126 '''Test ipdb with a very short function.
127
128 >>> def bar():
129 ... pass
130
131 Run ipdb.
132
133 >>> with PdbTestInput([
134 ... 'continue',
135 ... ]):
136 ... debugger.Pdb().runcall(bar)
137 > <doctest ...>(2)bar()
138 1 def bar():
139 ----> 2 pass
140 <BLANKLINE>
141 ipdb> continue
142 '''
General Comments 0
You need to be logged in to leave comments. Login now