summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_pdb.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_pdb.py b/Lib/test/test_pdb.py
index b2a441d..0861e1e 100644
--- a/Lib/test/test_pdb.py
+++ b/Lib/test/test_pdb.py
@@ -298,6 +298,7 @@ def test_list_commands():
... 'step', # step into do_nothing
... 'longlist', # list all lines
... 'source do_something', # list all lines of function
+ ... 'source fooxxx', # something that doesn't exit
... 'continue',
... ]):
... test_function()
@@ -352,6 +353,8 @@ def test_list_commands():
(Pdb) source do_something
... def do_something():
... print(42)
+ (Pdb) source fooxxx
+ *** ...
(Pdb) continue
"""