[Zodb-checkins] CVS: Zope3/src/BTrees/tests - test_compare.py:1.5

Marius Gedminas marius at pov.lt
Tue Apr 27 05:54:22 EDT 2004


Update of /cvs-repository/Zope3/src/BTrees/tests
In directory cvs.zope.org:/tmp/cvs-serv22240/src/BTrees/tests

Modified Files:
	test_compare.py 
Log Message:
Made BTrees tests clean up the transaction in tearDown.



=== Zope3/src/BTrees/tests/test_compare.py 1.4 => 1.5 ===
--- Zope3/src/BTrees/tests/test_compare.py:1.4	Fri Apr 16 11:58:13 2004
+++ Zope3/src/BTrees/tests/test_compare.py	Tue Apr 27 05:54:19 2004
@@ -41,6 +41,7 @@
     def tearDown(self):
         self.assert_(self.bucket._p_changed != 2)
         self.assert_(self.set._p_changed != 2)
+        transaction.abort()
 
     def assertUE(self, callable, *args):
         self.assertRaises(UnicodeError, callable, *args)




More information about the Zodb-checkins mailing list