()
| 39 | |
| 40 | |
| 41 | def test_raise_if_dask_computes(): |
| 42 | data = da.from_array(np.random.default_rng(0).random((4, 6)), chunks=(2, 2)) |
| 43 | with pytest.raises(RuntimeError, match=r"Too many computes"): |
| 44 | with raise_if_dask_computes(): |
| 45 | data.compute() |
| 46 | |
| 47 | |
| 48 | class DaskTestCase: |
nothing calls this directly
no test coverage detected
searching dependent graphs…