MCPcopy Index your code
hub / github.com/dask/dask / test_empty_numpy_array

Function test_empty_numpy_array

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

Source from the content-addressed store, hash-verified

184
185@pytest.mark.skipif("not np")
186def test_empty_numpy_array():
187 arr = np.array([])
188 assert arr.strides
189 assert check_tokenize(arr) == check_tokenize(arr)
190 arr2 = np.array([], dtype=np.int64())
191 assert check_tokenize(arr) != check_tokenize(arr2)
192
193
194@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…