def test_bad_y_list(self): with pytest.raises(ValueError, match="There is a problem with your y_list"): _get_chunk_size([0, 2], [0, 2, 5])
def test_bad_y_list(self): _get_chunk_size([0, 2], [0, 2, 5])
def test_two_chunksizes(self): with pytest.raises( ValueError, match="x_list and y_list need to have the same chunksize"): _get_chunk_size([0, 10], [0, 5])
def test_two_chunksizes(self): _get_chunk_size([0, 10], [0, 5])