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

Function test_invalid

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

Source from the content-addressed store, hash-verified

32
33
34def test_invalid() -> None:
35 with pytest.raises(TypeError):
36 LRUCache(maxsize=None) # type: ignore[arg-type]
37 with pytest.raises(ValueError):
38 LRUCache(maxsize=-1)
39
40
41def test_update_priority() -> 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…