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

Function test_long_slice

dask/array/tests/test_array_core.py:3350–3354  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3348
3349
3350def test_long_slice():
3351 x = np.arange(10000)
3352 d = da.from_array(x, chunks=1)
3353
3354 assert_eq(d[8000:8200], x[8000:8200])
3355
3356
3357def test_h5py_newaxis():

Callers

nothing calls this directly

Calls 2

assert_eqFunction · 0.90
arangeMethod · 0.45

Tested by

no test coverage detected