()
| 444 | |
| 445 | |
| 446 | def 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( |
nothing calls this directly
no test coverage detected