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

Function test_tokenize_composite_functions

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

Source from the content-addressed store, hash-verified

551
552
553def test_tokenize_composite_functions():
554 assert check_tokenize(partial(f2, b=2)) != check_tokenize(partial(f2, b=3))
555 assert check_tokenize(partial(f1, b=2)) != check_tokenize(partial(f2, b=2))
556 assert check_tokenize(compose(f2, f3)) != check_tokenize(compose(f2, f1))
557 assert check_tokenize(curry(f2)) != check_tokenize(curry(f1))
558 assert check_tokenize(curry(f2, b=1)) != check_tokenize(curry(f2, b=2))
559
560
561@pytest.mark.skipif("not pd")

Callers

nothing calls this directly

Calls 2

check_tokenizeFunction · 0.85
curryFunction · 0.85

Tested by

no test coverage detected