Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ test_diff_negative_order
Function
test_diff_negative_order
dask/array/tests/test_routines.py:612–614 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
610
611
612
def
test_diff_negative_order():
613
with
pytest.raises(ValueError):
614
da.diff(da.arange(10), -1)
615
616
617
@pytest.mark.parametrize(
"shape"
, [(10,), (10, 15)])
Callers
nothing calls this directly
Calls
2
diff
Method · 0.80
arange
Method · 0.45
Tested by
no test coverage detected