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

Function test_python_cache_usage_none

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

Source from the content-addressed store, hash-verified

253
254
255def test_python_cache_usage_none():
256 jiter.cache_clear()
257 parsed = jiter.from_json(
258 b'{"foo": "bar", "spam": 3}',
259 cache_mode='none',
260 )
261 assert parsed == {'foo': 'bar', 'spam': 3}
262 assert jiter.cache_usage() == 0
263
264
265def test_use_tape():

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…