MCPcopy
hub / github.com/dask/dask / test_tokenize_numpy_scalar_string_rep

Function test_tokenize_numpy_scalar_string_rep

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

Source from the content-addressed store, hash-verified

159
160@pytest.mark.skipif("not np")
161def test_tokenize_numpy_scalar_string_rep():
162 # Test tokenizing numpy scalars doesn't depend on their string representation
163 with np.printoptions(formatter={"all": lambda x: "foo"}):
164 assert check_tokenize(np.array(1)) != check_tokenize(np.array(2))
165
166
167@pytest.mark.skipif("not np")

Callers

nothing calls this directly

Calls 1

check_tokenizeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…