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

Function test_tokenize_random_functions_with_state_numpy

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

Source from the content-addressed store, hash-verified

1313
1314@pytest.mark.skipif("not np")
1315def test_tokenize_random_functions_with_state_numpy():
1316 a = np.random.RandomState(123).random
1317 b = np.random.RandomState(456).random
1318 assert check_tokenize(a) != check_tokenize(b)
1319
1320
1321@pytest.mark.skipif("not pa")

Callers

nothing calls this directly

Calls 2

check_tokenizeFunction · 0.85
RandomStateMethod · 0.45

Tested by

no test coverage detected