We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 683c2bc commit a5e270fCopy full SHA for a5e270f
test.py
@@ -76,6 +76,7 @@ def run_cached(cache):
76
for cached in (ct.cached, ctu.cached):
77
# reset cache contents and stats
78
reset_cache(cache)
79
+ # NOTE we probably trigger a double json encoding in some tests.
80
fun = cached_fun(cache, cached, key=ctu.json_key)
81
x = 0
82
for n in range(10):
@@ -567,6 +568,7 @@ def test_encrypted_cache():
567
568
assert cache[b"Hello"] == b"World!"
569
del cache[b"Hello"]
570
assert b"Hello" not in cache
571
+ # strings
572
scache = ctu.ToBytesCache(cache)
573
scache["Hello"] = "World!"
574
assert "Hello" in scache
0 commit comments