[Zope-Coders] unit tests and doc strings

Guido van Rossum guido@python.org
Sat, 05 Oct 2002 10:33:50 -0400


> > 99% of all Zope tests don't use a doc string.  There's a reason for
> > this: when a test has a doc string, only the doc string is printed. This
> > makes tracking down a failing test a major pain.
> 
> Why not fix unittest.py instead, to print both?

Because that won't do anything for pre-existing Python versions, and
because that would double the volume of the output.  All I need is
unique identification of the test being run.

--Guido van Rossum (home page: http://www.python.org/~guido/)