Commit cdf66a9a authored by Georg Brandl's avatar Georg Brandl

Test that "source" with nonexisting things works as expected.

parent 5ed2b5a9
......@@ -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
"""
......
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