[Zope-Coders] Re: [Zope-Checkins] CVS: Zope3/lib/python/Persistence/BTrees/tests - testBTrees.py:1.1.2.3 testBTreesUnicode.py:1.1.2.4
Guido van Rossum
guido@python.org
Sun, 02 Jun 2002 09:15:55 -0400
> Hmm... that shouldn't be too hard to fix. Perhaps on -v 2 it should
> print the test docstring on one line and then on the next line the
> fully qualified module name?
That defeats the purpose of using unittest.py as distributed with
Python. The dangers of distributing our own version are too big to
warrant that, IMO. (I've seen this done many times and it always ends
up causing problems.)
> Is 100% consistency needed? It _is_ often easy to gaive a tests a
> sufficiently meaningful name that no docstring is
> necessary. However, in some cases, particularly with tricky bugs, I
> find a docstring is useful for explaining in a bit more detail.
Put a comment in the code, OK?
--Guido van Rossum (home page: http://www.python.org/~guido/)