[Zope-Coders] Re: [Zope-Checkins] CVS: Zope3/lib/python/Persistence/BTrees/tests - testBTrees.py:1.1.2.3 testBTreesUnicode.py:1.1.2.4

Chris Withers chrisw@nipltd.com
Mon, 03 Jun 2002 08:51:40 +0100


Guido van Rossum wrote:
> 
> > 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.)

Who said anything about distributing our own version of unittest.py? ;-)
These changes could be made in the Python CVS...

> > 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?

*shrugs* I'll do that for Zope CVS code but I'll make my own choices for code I
release...

Chris