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

Function test_tokenize_numpy_array_consistent_on_values

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

Source from the content-addressed store, hash-verified

127
128@pytest.mark.skipif("not np")
129def test_tokenize_numpy_array_consistent_on_values():
130 assert check_tokenize(
131 np.random.RandomState(1234).random_sample(1000)
132 ) == check_tokenize(np.random.RandomState(1234).random_sample(1000))
133
134
135@pytest.mark.skipif("not np")

Callers

nothing calls this directly

Calls 3

check_tokenizeFunction · 0.85
random_sampleMethod · 0.45
RandomStateMethod · 0.45

Tested by

no test coverage detected