PyUnit (aka the unittest module) is a python version of the unit testing framework outlined by KentBeck? and ErichGamma? in their Test Infected paper. It's the most common basis for unit and other kinds of testing in python. PyUnit is part of the Python standard library and is documented in the library docs
See also DocTest.