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

Function test_meshgrid_inputcoercion

dask/array/tests/test_creation.py:446–456  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

444
445
446def test_meshgrid_inputcoercion():
447 a = [1, 2, 3]
448 b = np.array([4, 5, 6, 7])
449 x, y = np.meshgrid(a, b, indexing="ij")
450 z = x * y
451
452 x_d, y_d = da.meshgrid(a, b, indexing="ij")
453 z_d = x_d * y_d
454
455 assert z_d.shape == (len(a), len(b))
456 assert_eq(z, z_d)
457
458
459@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

assert_eqFunction · 0.90

Tested by

no test coverage detected