diff tests/test-lrucachedict.py @ 19710:887ffa22fd0d

lrucachedict: implement clear()
author Siddharth Agarwal <sid0@fb.com>
date Fri, 06 Sep 2013 13:16:21 -0700
parents 2251b3184e6e
children 45d996a566d7
line wrap: on
line diff
--- a/tests/test-lrucachedict.py	Sat Sep 07 16:08:11 2013 -0500
+++ b/tests/test-lrucachedict.py	Fri Sep 06 13:16:21 2013 -0700
@@ -31,5 +31,8 @@
     d['f'] = 'vf'
     printifpresent(d, ['b', 'c', 'd', 'e', 'f'])
 
+    d.clear()
+    printifpresent(d, ['b', 'c', 'd', 'e', 'f'])
+
 if __name__ == '__main__':
     test_lrucachedict()