test_doctest fails since r59984.
Not sure if these are the correct values, but save_stdout has to be set before its usage...
This commit is contained in:
parent
e805782b53
commit
ff0f2670ff
|
@ -199,6 +199,8 @@ class Pdb(bdb.Bdb, cmd.Cmd):
|
|||
globals = self.curframe.f_globals
|
||||
try:
|
||||
code = compile(line + '\n', '<stdin>', 'single')
|
||||
save_stdout = sys.stdout
|
||||
save_stdin = sys.stdin
|
||||
try:
|
||||
sys.stdin = self.stdin
|
||||
sys.stdout = self.stdout
|
||||
|
|
Loading…
Reference in New Issue