We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

The doctest Module

(New in 2.1) A test framework, based on docstrings. To use this for general testing, you can write test scripts and use doctest to make sure the test scripts work as documented. Also see unittest.