Commit ff0f2670 authored by Amaury Forgeot d'Arc's avatar Amaury Forgeot d'Arc

test_doctest fails since r59984.

Not sure if these are the correct values, but save_stdout has to be set before its usage...
parent e805782b
......@@ -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
......
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