()
| 4092 | |
| 4093 | |
| 4094 | def test_warn_bad_rechunking(): |
| 4095 | x = da.ones((20, 20), chunks=(20, 1)) |
| 4096 | y = da.ones((20, 20), chunks=(1, 20)) |
| 4097 | |
| 4098 | with pytest.warns(da.core.PerformanceWarning, match="factor of 20"): |
| 4099 | x + y |
| 4100 | |
| 4101 | |
| 4102 | def test_concatenate_stack_dont_warn(): |