Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dask/dask
/ test_arithmetic_ops
Function
test_arithmetic_ops
dask/array/_array_expr/tests/test_collection.py:37–40 ·
view source on GitHub ↗
(arr, op)
Source
from the content-addressed store, hash-verified
35
],
36
)
37
def
test_arithmetic_ops(arr, op):
38
result = getattr(arr, op)(2)
39
expected = getattr(arr.compute(), op)(2)
40
assert_eq(result, expected)
41
42
43
@pytest.mark.array_expr
Callers
nothing calls this directly
Calls
2
assert_eq
Function · 0.90
compute
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…