Commit 2c816264 authored by Jeremy Hylton's avatar Jeremy Hylton

Use a more direct way to force invalidations, while also avoiding

the deprecation warning for setLocalTransaction().
parent 16072ab8
......@@ -573,9 +573,7 @@ class ConnectionTests(CommonSetupTearDown):
self.assert_(c1._invalidated.has_key(r1._p_oid))
# force the invalidations to be applied...
c1.setLocalTransaction()
c1.getTransaction().register(c1)
c1.getTransaction().abort()
c1.sync()
r1.keys() # unghostify
self.assertEqual(r1._p_serial, r2._p_serial)
......
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