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

Function test_timedelta_op

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

Source from the content-addressed store, hash-verified

3795
3796
3797def test_timedelta_op():
3798 x = np.array([np.timedelta64(10, "h")])
3799 y = np.timedelta64(1, "h")
3800 a = da.from_array(x, chunks=(1,)) / y
3801 assert a.compute() == x / y
3802
3803
3804def test_to_delayed():

Callers

nothing calls this directly

Calls 1

computeMethod · 0.45

Tested by

no test coverage detected