You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update VRT window-clamp tests to match post-#1697 reject contract (#1731)
PRs #1692 and #1698 raced through main with conflicting expectations
for out-of-bounds window=. #1692's tests were written against the
pre-#1697 contract that silently clamped windows to the VRT extent
(returning a smaller array). #1698 replaced that contract with the
validator-rejects-up-front behaviour from #1634 / #1669 so all
three backends (local, HTTP, VRT) raise ValueError on out-of-bounds
windows.
Update both clamp-assertion tests to use pytest.raises(ValueError)
and rename them to reflect the new contract. The "negative offsets
clamp to 0" path is also gone -- negative offsets now raise.
0 commit comments