summary refs log tree commit diff
path: root/tests/util/test_treecache.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove `keylen` from `LruCache`. (#9993)Richard van der Hoff2021-05-241-2/+4
| | | | | | | `keylen` seems to be a thing that is frequently incorrectly set, and we don't really need it. The only time it was used was to figure out if we had removed a subtree in `del_multi`, which we can do better by changing `TreeCache.pop` to return a different type (`TreeCacheNode`). Commits should be independently reviewable.
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
| | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
* run isortAmber Brown2018-07-091-2/+2
|
* Add a test for TreeCache.__contains__Mark Haines2016-02-221-0/+6
|
* Fix flake8 warnings for testsMark Haines2016-02-191-0/+1
|
* Add testsErik Johnston2016-01-291-0/+12
|
* Add tests for treecache directly and test del_multi at the LruCache level too.David Baker2016-01-221-0/+66