(self, Var)
| 3091 | |
| 3092 | @requires_dask |
| 3093 | def test_from_dask(self, Var): |
| 3094 | v = Var("x", [1, 2, 3]) |
| 3095 | v_chunked = v.chunk(1) |
| 3096 | |
| 3097 | assert_identical(v_chunked.as_numpy(), v.compute()) |
| 3098 | np.testing.assert_equal(v.to_numpy(), np.array([1, 2, 3])) |
| 3099 | |
| 3100 | @requires_pint |
| 3101 | def test_from_pint(self, Var): |
nothing calls this directly
no test coverage detected