]> granicus.if.org Git - python/commit
test_doctest.py test_pdb_set_trace_nested(): A new test from Jim Fulton
authorTim Peters <tim.peters@gmail.com>
Mon, 8 Nov 2004 22:07:37 +0000 (22:07 +0000)
committerTim Peters <tim.peters@gmail.com>
Mon, 8 Nov 2004 22:07:37 +0000 (22:07 +0000)
commit50c6bdb1d6f5344fcaa772c6a1a37c09bbe55bf6
treed13b58927b5b67465558756843e551830728beba
parente0b855fac96e858934e9792c6d04bfb2f35b3b9d
test_doctest.py test_pdb_set_trace_nested():  A new test from Jim Fulton
showing that doctest's pdb.set_trace() support was dramatically broken.

doctest.py _OutputRedirectingPdb.trace_dispatch():  Return a local trace
function instead of (implicitly) None.  Else interaction with pdb was
bizarre, noticing only 'call' events.  Amazingly, the existing set_trace()
tests didn't care.
Lib/doctest.py
Lib/test/test_doctest.py
Misc/NEWS