()
| 246 | |
| 247 | |
| 248 | def test_python_cache_usage_keys(): |
| 249 | jiter.cache_clear() |
| 250 | parsed = jiter.from_json(b'{"foo": "bar", "spam": 3}', cache_mode='keys') |
| 251 | assert parsed == {'foo': 'bar', 'spam': 3} |
| 252 | assert jiter.cache_usage() == 2 |
| 253 | |
| 254 | |
| 255 | def test_python_cache_usage_none(): |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…