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

Function test_wrap_consistent_names

dask/array/tests/test_wrap.py:80–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78
79
80def test_wrap_consistent_names():
81 assert sorted(ones(10, dtype="i4", chunks=(4,)).dask) == sorted(
82 ones(10, dtype="i4", chunks=(4,)).dask
83 )
84 assert sorted(ones(10, dtype="i4", chunks=(4,)).dask) != sorted(
85 ones(10, chunks=(4,)).dask
86 )
87 assert sorted(da.full((3, 3), 100, chunks=(2, 2), dtype="f8").dask) == sorted(
88 da.full((3, 3), 100, chunks=(2, 2), dtype="f8").dask
89 )
90 assert sorted(da.full((3, 3), 100, chunks=(2, 2), dtype="i2").dask) != sorted(
91 da.full((3, 3), 100, chunks=(2, 2)).dask
92 )

Callers

nothing calls this directly

Calls 1

fullMethod · 0.45

Tested by

no test coverage detected