/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_lru_cache.py

  • Committer: Martin Pool
  • Date: 2009-03-13 07:54:48 UTC
  • mfrom: (4144 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4189.
  • Revision ID: mbp@sourcefrog.net-20090313075448-jlz1t7baz7gzipqn
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
 
108
108
        self.assertEqual([(2, 20)], cleanup_called)
109
109
        self.assertEqual(25, cache[2])
110
 
        
 
110
 
111
111
        # Even __setitem__ should make sure cleanup() is called
112
112
        cache[2] = 26
113
113
        self.assertEqual([(2, 20), (2, 25)], cleanup_called)