()
| 3260 | |
| 3261 | |
| 3262 | def test_single_element_tuple(): |
| 3263 | assert normalize_chunks( |
| 3264 | (100, "auto"), (500, 500_000), dtype=np.int64, previous_chunks=((1,), (500,)) |
| 3265 | ) == ( |
| 3266 | (100,) * 5, |
| 3267 | ( |
| 3268 | 167_500, |
| 3269 | 167_500, |
| 3270 | 165_000, |
| 3271 | ), |
| 3272 | ) |
| 3273 | |
| 3274 | |
| 3275 | def test_align_chunks_to_previous_chunks(): |
nothing calls this directly
no test coverage detected