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

Function test_empty_numpy_array

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

Source from the content-addressed store, hash-verified

185
186@pytest.mark.skipif("not np")
187def test_empty_numpy_array():
188 arr = np.array([])
189 assert arr.strides
190 assert check_tokenize(arr) == check_tokenize(arr)
191 arr2 = np.array([], dtype=np.int64())
192 assert check_tokenize(arr) != check_tokenize(arr2)
193
194
195@pytest.mark.skipif("not np")

Callers

nothing calls this directly

Calls 1

check_tokenizeFunction · 0.85

Tested by

no test coverage detected