()
| 239 | |
| 240 | |
| 241 | def 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 | |
| 248 | def test_python_cache_usage_keys(): |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…