[Zope-Checkins] CVS: Zope/lib/python/StructuredText/tests - testStructuredText.py:1.16

Andreas Jung Andreas Jung" <andreas@zope.com
Tue, 28 May 2002 14:07:08 -0400


I had in mind that doc strings would be mandatory for unittests.
We should add this to the Zope coding styles.

Andreas
----- Original Message -----
From: "Guido van Rossum" <guido@python.org>
To: <andreas@zope.com>
Cc: <zope-checkins@zope.org>
Sent: Tuesday, May 28, 2002 13:55
Subject: Re: [Zope-Checkins] CVS: Zope/lib/python/StructuredText/tests -
testStructuredText.py:1.16


> Wouldn't it be easier to remove the docstrings?  unittest insists on
> displaying the docstring rather than the function name when a
> docstring is present.  I find this a misfeature, because it makes it
> hard to find the function (even the docstrings *are* unique :-).  As a
> consequence, most unittests don't have docstrings, but rather use
> comments if needed.  Why don't you follow this example?
>
> --Guido van Rossum (home page: http://www.python.org/~guido/)
>
>
> _______________________________________________
> Zope-Checkins maillist  -  Zope-Checkins@zope.org
> http://lists.zope.org/mailman/listinfo/zope-checkins
>