Commit 2172f321 authored by Marius Gedminas's avatar Marius Gedminas

Made BTrees tests clean up the transaction in tearDown.

parent 79e391b1
...@@ -41,6 +41,7 @@ class CompareTest(unittest.TestCase): ...@@ -41,6 +41,7 @@ class CompareTest(unittest.TestCase):
def tearDown(self): def tearDown(self):
self.assert_(self.bucket._p_changed != 2) self.assert_(self.bucket._p_changed != 2)
self.assert_(self.set._p_changed != 2) self.assert_(self.set._p_changed != 2)
transaction.abort()
def assertUE(self, callable, *args): def assertUE(self, callable, *args):
self.assertRaises(UnicodeError, callable, *args) self.assertRaises(UnicodeError, callable, *args)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment