changeset 27371 | 45d996a566d7 |
parent 19710 | 887ffa22fd0d |
child 27576 | 6cd3044985c2 |
--- a/tests/test-lrucachedict.py Sat Dec 05 22:49:39 2015 -0800 +++ b/tests/test-lrucachedict.py Sun Dec 06 19:04:10 2015 -0800 @@ -34,5 +34,13 @@ d.clear() printifpresent(d, ['b', 'c', 'd', 'e', 'f']) + # Now test dicts that aren't full. + d = util.lrucachedict(4) + d['a'] = 1 + d['b'] = 2 + d['a'] + d['b'] + printifpresent(d, ['a', 'b']) + if __name__ == '__main__': test_lrucachedict()