Commit 569fc96f authored by Georg Brandl's avatar Georg Brandl

Fix test_doctest, missed two assignments to curframe.

parent 3633c4f7
......@@ -616,6 +616,7 @@ class Pdb(bdb.Bdb, cmd.Cmd):
else:
self.curindex = self.curindex - 1
self.curframe = self.stack[self.curindex][0]
self.curframe_locals = self.curframe.f_locals
self.print_stack_entry(self.stack[self.curindex])
self.lineno = None
do_u = do_up
......@@ -626,6 +627,7 @@ class Pdb(bdb.Bdb, cmd.Cmd):
else:
self.curindex = self.curindex + 1
self.curframe = self.stack[self.curindex][0]
self.curframe_locals = self.curframe.f_locals
self.print_stack_entry(self.stack[self.curindex])
self.lineno = None
do_d = do_down
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment