MCPcopy Create free account
hub / github.com/dask/dask / test_deterministic_name

Function test_deterministic_name

dask/tests/test_delayed.py:706–710  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

704
705
706def test_deterministic_name():
707 func = delayed(identity, pure=True)
708 data1 = {"x": 1, "y": 25, "z": [1, 2, 3]}
709 data2 = {"x": 1, "y": 25, "z": [1, 2, 3]}
710 assert func(data1)._key == func(data2)._key
711
712
713def test_sensitive_to_partials():

Callers

nothing calls this directly

Calls 2

delayedFunction · 0.90
funcFunction · 0.70

Tested by

no test coverage detected