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

Function test_tokenize_partial_func_args_kwargs_consistent

dask/tests/test_tokenize.py:331–336  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

329
330
331def test_tokenize_partial_func_args_kwargs_consistent():
332 f = partial(f3, f2, c=f1)
333 g = partial(f3, f2, c=f1)
334 h = partial(f3, f2, c=5)
335 assert check_tokenize(f) == check_tokenize(g)
336 assert check_tokenize(f) != check_tokenize(h)
337
338
339def test_normalize_base():

Callers

nothing calls this directly

Calls 1

check_tokenizeFunction · 0.85

Tested by

no test coverage detected