diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-01-15 21:25:11 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-01-15 21:25:11 (GMT) |
commit | ff0f2670ff34e062e7c70af0381189e5752620a2 (patch) | |
tree | b9c261ee4ad025e06702ce7297a082dee8cce595 /Lib/pdb.py | |
parent | e805782b537cce4a1cf1d15b554b0895dc67123a (diff) | |
download | cpython-ff0f2670ff34e062e7c70af0381189e5752620a2.zip cpython-ff0f2670ff34e062e7c70af0381189e5752620a2.tar.gz cpython-ff0f2670ff34e062e7c70af0381189e5752620a2.tar.bz2 |
test_doctest fails since r59984.
Not sure if these are the correct values, but save_stdout has to be set before its usage...
Diffstat (limited to 'Lib/pdb.py')
-rwxr-xr-x | Lib/pdb.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |