MCPcopy Create free account
hub / github.com/pydantic/jiter / test_python_cache_usage_all

Function test_python_cache_usage_all

crates/jiter-python/tests/test_jiter.py:241–245  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

239
240
241def test_python_cache_usage_all():
242 jiter.cache_clear()
243 parsed = jiter.from_json(b'{"foo": "bar", "spam": 3}', cache_mode='all')
244 assert parsed == {'foo': 'bar', 'spam': 3}
245 assert jiter.cache_usage() == 3
246
247
248def test_python_cache_usage_keys():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…