tests/cache/test_redis_backend.py
def my_loads(value):
    """'
    we need to unpack the value and stash it into a CachedValue
    we support strings in this version, because it's used in unit tests
    that require the ability to set/read raw data.
    we could disable that test, but this workaround supports it.
    """
    if COMPAT_PY3:
        # this is True for backward compatibility
        value = msgpack.unpackb(value, use_list=False, raw=False)
    else:
        value = msgpack.unpackb(value, use_list=False)
    if isinstance(value, tuple):
        return CachedValue(*value)
    return value

    we need to unpack the value and stash it into a CachedValue
    we support strings in this version, because it's used in unit tests
    that require the ability to set/read raw data.
    we could disable that test, but this workaround supports it.
    
we need to unpack the value and stash it into a CachedValue
we support strings in this version, because it's used in unit tests
that require the ability to set/read raw data.
we could disable that test, but this workaround supports it.
we need to unpack the value and stash it into a CachedValue we support strings in this version because it ' s used in unit tests that require the ability to set / read raw data . we could disable that test but this workaround supports it .
def my_loads(value):
    if COMPAT_PY3:
        value = msgpack.unpackb(value, use_list=False, raw=False)
    else:
        value = msgpack.unpackb(value, use_list=False)
    if isinstance(value, tuple):
        return CachedValue(*value)
    return value
def my_loads ( value ) : if COMPAT_PY3 : value = msgpack . unpackb ( value , use_list = False , raw = False ) else : value = msgpack . unpackb ( value , use_list = False ) if isinstance ( value , tuple ) : return CachedValue ( * value ) return value
we need to unpack the value and stash it into a CachedValue
we support strings in this version, because it's used in unit tests
that require the ability to set/read raw data.
we need to unpack the value and stash it into a CachedValue we support strings in this version because it ' s used in unit tests that require the ability to set / read raw data .
"""'
    we need to unpack the value and stash it into a CachedValue
    we support strings in this version, because it's used in unit tests
    that require the ability to set/read raw data.
    we could disable that test, but this workaround supports it.
    """ # this is True for backward compatibility
value