MCPcopy Index your code
hub / github.com/pydata/xarray / file_cache

Function file_cache

xarray/tests/test_backends_file_manager.py:17–22  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

15
16@pytest.fixture(params=[1, 2, 3, None])
17def file_cache(request):
18 maxsize = request.param
19 if maxsize is None:
20 yield {}
21 else:
22 yield LRUCache(maxsize)
23
24
25def test_file_manager_mock_write(file_cache) -> None:

Callers

nothing calls this directly

Calls 1

LRUCacheClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…