(self, Var)
| 3084 | @pytest.mark.parametrize("Var", [Variable, IndexVariable]) |
| 3085 | class TestNumpyCoercion: |
| 3086 | def test_from_numpy(self, Var): |
| 3087 | v = Var("x", [1, 2, 3]) |
| 3088 | |
| 3089 | assert_identical(v.as_numpy(), v) |
| 3090 | np.testing.assert_equal(v.to_numpy(), np.array([1, 2, 3])) |
| 3091 | |
| 3092 | @requires_dask |
| 3093 | def test_from_dask(self, Var): |
nothing calls this directly
no test coverage detected