[ZODB-Dev] Some unit tests leave an unclean transaction

Marius Gedminas mgedmin at b4net.lt
Tue Apr 27 08:01:41 EDT 2004


On Mon, Apr 26, 2004 at 02:48:01PM -0400, Tim Peters wrote:
> [Marius Gedminas]
> > Some BTree unit tests (BTrees.tests.test_compare.CompareTest) leave
> > the transaction in an unclean state.  This has not been a problem so
> > far, but is generally a bad thing to do.
> 
> It's a miserable thing to do!  I'm surprised it hasn't burned us.
...
> Feel encouraged to check that in.  Or do you want me to do it?

Ok, I've checked both fixes it.

Marius Gedminas
-- 
#define QUESTION ((bb) || !(bb)) /* Shakespeare */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/zodb-dev/attachments/20040427/e930b1cc/attachment-0001.bin


More information about the ZODB-Dev mailing list