Author: georg.brandl Date: Fri Jul 30 20:15:16 2010 New Revision: 83292 Log: Test that "source" with nonexisting things works as expected. Modified: python/branches/py3k/Lib/test/test_pdb.py Modified: python/branches/py3k/Lib/test/test_pdb.py ============================================================================== --- python/branches/py3k/Lib/test/test_pdb.py (original) +++ python/branches/py3k/Lib/test/test_pdb.py Fri Jul 30 20:15:16 2010 @@ -298,6 +298,7 @@ ... '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 @@ (Pdb) source do_something ... def do_something(): ... print(42) + (Pdb) source fooxxx + *** ... (Pdb) continue """
participants (1)
-
georg.brandl