doctest doctest doctest doctest doctest doctest http://docs.python.org/2/library/doctest.html how to use text files for your doctests doctest http://docs.python.org/2/library/doctest.html doctests doctest module http://docs.python.org/2/library/doctest.html#unittest-api recommendations in the Python documentation doctest doctest doctest doctest Doctests doctests doctest doctest http://docs.python.org/2/library/doct... docs.python.org/2/library/doctest.html#directives http://docs.python.org/2/library/doctest.html doctest python.org doctests ELLIPSIS