summary refs log tree commit diff
path: root/tests/util/test_treecache.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Correctly mention previous copyright (#16820)Erik Johnston2024-01-231-0/+1
| | | | | During the migration the automated script to update the copyright headers accidentally got rid of some of the existing copyright lines. Reinstate them.
* Update license headersPatrick Cloke2023-11-211-10/+16
|
* Add missing types to tests.util. (#14597)Patrick Cloke2022-12-021-7/+7
| | | | Removes files under tests.util from the ignored by list, then fully types all tests/util/*.py files.
* Replace assertEquals and friends with non-deprecated versions. (#12092)Patrick Cloke2022-02-281-24/+24
|
* 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