Steven D'Aprano <steve+pyt...@pearwood.info> added the comment: Attached is a simple test script for the patch I submitted. I have tested it with Python 2.6 both before and after applying the patch. Run it from the command line.
With the unpatched doctest module, it prints: "Expected 2 doctests, but only found 1" After the patch, it finds and runs both doctests, and prints nothing. ---------- Added file: http://bugs.python.org/file16185/doctest_test.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4037> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com