tests/test-lrucachedict.py
changeset 39564 5d75a3c16193
parent 39563 b31b01f93b11
child 39565 2dcc68c7d25b
--- a/tests/test-lrucachedict.py	Thu Sep 06 11:33:40 2018 -0700
+++ b/tests/test-lrucachedict.py	Thu Sep 06 11:37:27 2018 -0700
@@ -11,6 +11,7 @@
 class testlrucachedict(unittest.TestCase):
     def testsimple(self):
         d = util.lrucachedict(4)
+        self.assertEqual(d.capacity, 4)
         d['a'] = 'va'
         d['b'] = 'vb'
         d['c'] = 'vc'