Skip to content

Commit a5e270f

Browse files
author
Fabien Coelho
committed
add comments
1 parent 683c2bc commit a5e270f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: test.py

+2
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ def run_cached(cache):
7676
for cached in (ct.cached, ctu.cached):
7777
# reset cache contents and stats
7878
reset_cache(cache)
79+
# NOTE we probably trigger a double json encoding in some tests.
7980
fun = cached_fun(cache, cached, key=ctu.json_key)
8081
x = 0
8182
for n in range(10):
@@ -567,6 +568,7 @@ def test_encrypted_cache():
567568
assert cache[b"Hello"] == b"World!"
568569
del cache[b"Hello"]
569570
assert b"Hello" not in cache
571+
# strings
570572
scache = ctu.ToBytesCache(cache)
571573
scache["Hello"] = "World!"
572574
assert "Hello" in scache

0 commit comments

Comments
 (0)