Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ test_cache_with_number
Function
test_cache_with_number
dask/tests/test_cache.py:48–52 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
46
47
48
def
test_cache_with_number():
49
c = Cache(10000, limit=1)
50
assert isinstance(c.cache, cachey.Cache)
51
assert c.cache.available_bytes == 10000
52
assert c.cache.limit == 1
53
54
55
def
test_cache_correctness():
Callers
nothing calls this directly
Calls
1
Cache
Class · 0.90
Tested by
no test coverage detected