90
90
# 'foo' is now most recent, so final cleanup will call it last
93
self.assertEqual([('baz', '1'), ('biz', '3'), ('foo', '2')], cleanup_called)
93
self.assertEqual([('baz', '1'), ('biz', '3'), ('foo', '2')],
95
96
def test_cleanup_on_replace(self):
96
97
"""Replacing an object should cleanup the old value."""