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

Function test_hash_buffer_hex

dask/tests/test_hashing.py:30–35  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

28
29@pytest.mark.parametrize("x", buffers)
30def test_hash_buffer_hex(x):
31 for hasher in [None] + hashers:
32 h = hash_buffer_hex(x, hasher=hasher)
33 assert isinstance(h, str)
34 assert 16 <= len(h) < 64
35 assert h == hash_buffer_hex(x, hasher=hasher)
36
37
38@pytest.mark.parametrize("hasher", hashers)

Callers

nothing calls this directly

Calls 1

hash_buffer_hexFunction · 0.90

Tested by

no test coverage detected