requirements/dev.txt
author Laurent Wouters <lwouters@cenotelie.fr>
Wed, 25 Apr 2018 15:29:25 +0200
changeset 12308 cbbcfa69a0e7
parent 12070 a44f67dd0474
child 12569 c197f9382e53
permissions -rw-r--r--
[utils] Fixes compatiblity of QueryCache with expected dict interface QueryCache is expected to mimick the interface of the dict built-in. The current __iter__ implementation breaks this expectation by iterating over key, value pairs instead of only the keys. This changeset fixes this issue by changing the __iter__ implementation to iterate over the keys in the cache and providing an implementation of the items method with a contract identical to the dict build-in (return a copy of the key- value pairs within the dictionary as a list).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11285
581b5b64b382 [tox] Put development dependencies into a dev-requirements.txt file
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff changeset
     1
pytest