def METHOD_NAME(self):
    data = np.arange(16).reshape(4, 4)
    match = "block_size elements must be integers"
    with pytest.raises(ValueError, match=match):
        reshape_as_blocks(data, (2.1, 2))
    match = "block_size elements must be strictly positive"
    with pytest.raises(ValueError, match=match):
        reshape_as_blocks(data, (-1, 0))