Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ test_subs
Function
test_subs
dask/tests/test_core.py:208–210 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
206
207
208
def
test_subs():
209
assert subs((sum, [1,
"x"
]),
"x"
, 2) == (sum, [1, 2])
210
assert subs((sum, [1, [
"x"
]]),
"x"
, 2) == (sum, [1, [2]])
211
212
213
class
MutateOnEq:
Callers
nothing calls this directly
Calls
1
subs
Function · 0.90
Tested by
no test coverage detected