def test_stride_size_cannot_be_larger_than_tile_size() -> None:
    """Larger stride size than tile size is not desired, and causes issues."""
    kernel_size = (128, 128)
    stride = 256
    with pytest.raises(StrideSizeError):
        Tiler(tile_size=kernel_size, stride=stride)
Larger stride size than tile size is not desired, and causes issues.
tests/unit/data/utils/test_tiler.py