This article explains the new features in doctest2 as compared to doctest. It also serves as an introduction to doctest2 for those already familiar with the original doctest.
See also
doctest - doctest module documentation
An introduction to doctest2 for existing users of doctest
Enter search terms or a module, class or function name.