(self)
| 337 | |
| 338 | @pytest.fixture(autouse=True) |
| 339 | def setUp(self): |
| 340 | self.values = np.random.randn(4, 6) |
| 341 | self.data = da.from_array(self.values, chunks=(2, 2)) |
| 342 | self.eager_array = DataArray( |
| 343 | self.values, coords={"x": range(4)}, dims=("x", "y"), name="foo" |
| 344 | ) |
| 345 | self.lazy_array = DataArray( |
| 346 | self.data, coords={"x": range(4)}, dims=("x", "y"), name="foo" |
| 347 | ) |
| 348 | |
| 349 | def test_chunk(self) -> None: |
| 350 | test_cases: list[ |
nothing calls this directly
no test coverage detected