Fix test_doctest, missed two assignments to curframe.

This commit is contained in:
Georg Brandl 2009-04-02 02:00:01 +00:00
parent 3633c4f7d2
commit 569fc96f99
1 changed files with 2 additions and 0 deletions

View File

@ -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