python-mode package includes a doctest mode that rocks :


http://cvs.sourceforge.net/viewcvs.py/python-mode/python-mode/doctest-mode.el




Sweeeeeeeet........



:)

(Post originally written by Julien Anguenot on the old Nuxeo blogs.)