Fix key_mangler is always reset to None in tests
Timon Wong
Branch: timonwong/dogpile.cache:timonwong/fix-key-mangler-in-tests
Branch: zzzeek/dogpile.cache:master
Declined
Declined pull request
Dear contributor - This pull request is being moved to Gerrit, at https://gerrit.sqlalchemy.org/145, where it may be tested and reviewed more closely. As such, the pull request itself is being marked "closed" or "declined", however your contribution is merely being moved to our central review system. Please register at https://gerrit.sqlalchemy.org#/register/ to send and receive comments regarding this item.
Closed by: Mike Bayer·2016-07-08
When
_user_defined_key_mangler
is not set, after callingconfigure()
method on a region instance, it will be reset tobackend
's default, which isNone
. So during the tests, the_store_keys()
mangler function will never be called.