MCPcopy
hub / github.com/dask/dask / test_tile_empty_array

Function test_tile_empty_array

dask/array/tests/test_creation.py:792–796  ·  view source on GitHub ↗
(shape, chunks, reps)

Source from the content-addressed store, hash-verified

790@pytest.mark.parametrize("shape, chunks", [((1, 1, 0), (1, 1, 0)), ((2, 0), (1, 0))])
791@pytest.mark.parametrize("reps", [2, (3, 2, 5)])
792def test_tile_empty_array(shape, chunks, reps):
793 x = np.empty(shape)
794 d = da.from_array(x, chunks=chunks)
795
796 assert_eq(np.tile(x, reps), da.tile(d, reps))
797
798
799@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 2

assert_eqFunction · 0.90
emptyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…