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

Function test_tokenize_sequences

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

Source from the content-addressed store, hash-verified

830
831
832def test_tokenize_sequences():
833 assert check_tokenize([1]) != check_tokenize([2])
834 assert check_tokenize([1]) != check_tokenize((1,))
835 assert check_tokenize([1]) == check_tokenize([1])
836
837 # You can call normalize_token directly.
838 x = (1, 2)
839 y = [x, x, [x, (2, 3)]]
840 assert normalize_token(y)
841
842
843def test_nested_tokenize_seen():

Callers

nothing calls this directly

Calls 1

check_tokenizeFunction · 0.85

Tested by

no test coverage detected