Skip to content

Commit d2a6d61

Browse files
committed
add comment to the test
1 parent 5d12a8c commit d2a6d61

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎Lib/test/test_pdb.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,8 @@ def test_pdb_pp_repr_exc():
430430
"""
431431

432432
def test_pdb_bad_repr():
433+
# Note that return of test_function() needs to be assigned to a value;
434+
# otherwise doctest tries to run repr() on it and fails.
433435
"""Test that args/retval commands handle bad repr objects.
434436
435437
>>> class BadRepr:

0 commit comments

Comments
 (0)