MCPcopy Index your code
hub / github.com/pydata/xarray / check

Function check

xarray/tests/test_computation.py:1245–1249  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

1243 )
1244
1245 def check(x, y):
1246 actual = parallel_add(x, y)
1247 assert isinstance(actual.data, da.Array)
1248 assert actual.data.chunks == array.chunks
1249 assert_identical(data_array, actual)
1250
1251 check(data_array, 0)
1252 check(0, data_array)

Callers 2

test_full_like_daskMethod · 0.85

Calls 2

parallel_addFunction · 0.85
assert_identicalFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…