Commit 5ad423e4 authored by Julien Muchembled's avatar Julien Muchembled

Fix testPersistent for Python 2.6

parent 9ddbacb0
......@@ -197,7 +197,7 @@ class PersistenceTest(unittest.TestCase):
self.assertEqual(Derived.myattr1.__get__(obj), 'value1')
self.assertEqual(Derived.myattr2.__get__(obj), 'value2')
obj._p_invalidate()
self.assertIs(obj._p_changed, None)
self.assertEqual(obj._p_changed, None)
self.assertEqual(list(jar._loaded), [])
self.assertRaises(AttributeError, lambda: Derived.myattr1.__get__(obj))
self.assertRaises(AttributeError, lambda: Derived.myattr2.__get__(obj))
......
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