MCPcopy Create free account
hub / github.com/pydata/xarray / test_trivial

Function test_trivial

xarray/tests/test_backends_lru_cache.py:28–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26
27
28def test_trivial() -> None:
29 cache: LRUCache[Any, Any] = LRUCache(maxsize=0)
30 cache["x"] = 1
31 assert len(cache) == 0
32
33
34def test_invalid() -> 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…