MCPcopy 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
208def 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
213class MutateOnEq:

Callers

nothing calls this directly

Calls 1

subsFunction · 0.90

Tested by

no test coverage detected