[TIP] Doctest or unitest?

Nicola Larosa nico at tekNico.net
Wed Mar 7 02:22:18 PST 2007

Jim Fulton wrote:
> We've developed an extension to doctest that allows us to put some setup
> and edge case code that *might* be interesting to the user in ReST 
> footnotes.

In footnotes? Wow. If this does not convert Michael Foord to doctest, I
don't know what will.

Nicola Larosa - http://www.tekNico.net/

Every man who has committed a rape, every man who has thought of committing
a rape, every man who commits sexual abuse, every man who sexually harass-
es, every man who tells stupid woman bashing jokes, every man who laughs
at those damn jokes, every man who breathes should have to go through a
rape kit exam, and have a nurse slam a couple of fingers up his ass with
no foreplay. THEN, they should have to sit and try to console their mother,
their sister, their wife, their DAUGHTER, while going through a rape kit
exam. -- Lisa, July 2006

More information about the testing-in-python mailing list