MCPcopy
hub / github.com/dask/dask / assert_eq

Function assert_eq

dask/array/tests/test_array_core.py:2523–2524  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

2521 c = da.from_array(z, chunks=(2, 3))
2522
2523 def assert_eq(a, b):
2524 return isinstance(a, np.dtype) and isinstance(b, np.dtype) and str(a) == str(b)
2525
2526 assert_eq(a.dtype, x.dtype)
2527 assert_eq(b.dtype, y.dtype)

Callers 14

test_shuffleFunction · 0.90
test_dtype_takerFunction · 0.90
test_arithmetic_opsFunction · 0.90
test_rechunkFunction · 0.90
test_blockwiseFunction · 0.90
test_reductionsFunction · 0.90
test_reductions_toplevelFunction · 0.90
test_from_arrayFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…