(like_ns)
| 247 | |
| 248 | @pytest.mark.parametrize("like_ns", (np, da)) |
| 249 | def test_tri_like(like_ns): |
| 250 | like = like_ns.array(0) |
| 251 | assert_eq(da.tri(1, like=like), da.tri(1)) |
| 252 | assert_eq(da.tri(1, like=like, dtype=np.float32), da.tri(1, dtype=np.float32)) |
| 253 | |
| 254 | |
| 255 | @pytest.mark.parametrize("func", [np.array, np.asarray, np.asanyarray]) |
nothing calls this directly
no test coverage detected