summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pdb.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-07-31 08:14:16 (GMT)
committerGeorg Brandl <georg@python.org>2010-07-31 08:14:16 (GMT)
commite1e8df1082cfc25670e8605270ff9fa2fba4cc32 (patch)
tree6504ac68b506c2f7996a161cb269fa22cb127417 /Lib/test/test_pdb.py
parent51b401bbe1912c5ea30330d0209a79640353c410 (diff)
downloadcpython-e1e8df1082cfc25670e8605270ff9fa2fba4cc32.zip
cpython-e1e8df1082cfc25670e8605270ff9fa2fba4cc32.tar.gz
cpython-e1e8df1082cfc25670e8605270ff9fa2fba4cc32.tar.bz2
Fix pdb test failures on the buildbots.
Diffstat (limited to 'Lib/test/test_pdb.py')
-rw-r--r--Lib/test/test_pdb.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_pdb.py b/Lib/test/test_pdb.py
index 6010bf3..5695775 100644
--- a/Lib/test/test_pdb.py
+++ b/Lib/test/test_pdb.py
@@ -345,7 +345,7 @@ def test_list_commands():
-> test_pdb.do_nothing()
(Pdb) step
--Call--
- > /home/gbr/devel/python/Lib/test/test_pdb.py(260)do_nothing()
+ > ...test_pdb.py(...)do_nothing()
-> def do_nothing():
(Pdb) longlist
... -> def do_nothing():
@@ -558,9 +558,9 @@ def test_pdb_run_with_incorrect_argument():
def test_pdb_run_with_code_object():
"""Testing run and runeval with code object as a first argument.
- >>> with PdbTestInput(['step','x', 'continue']):
+ >>> with PdbTestInput(['step','x', 'continue']): # doctest: +ELLIPSIS
... pdb_invoke('run', compile('x=1', '<string>', 'exec'))
- > <string>(1)<module>()
+ > <string>(1)<module>()...
(Pdb) step
--Return--
> <string>(1)<module>()->None