Skip to content

Commit b283567

Browse files
Anti-meridian crossing bboxes no longer should raise failure, so remove these two unit tests #883
1 parent beb74a8 commit b283567

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

tests/extra/job_management/test_job_splitting.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -361,18 +361,6 @@ def test_antimeridian_crossing_bbox_small_tiles(self):
361361
# 5 cols × 20 rows on each side = 100 + 100 = 200
362362
assert len(result) == 200
363363

364-
def test_antimeridian_crossing_bbox_without_crs_raises(self):
365-
"""An antimeridian-crossing bbox without a CRS field cannot be disambiguated and is rejected."""
366-
aoi = {"west": 170.0, "south": -10.0, "east": -170.0, "north": 10.0}
367-
with pytest.raises(JobSplittingFailure, match="west must be less than east"):
368-
split_area(aoi, projection="EPSG:4326", tile_size=1.0)
369-
370-
def test_antimeridian_crossing_bbox_projected_crs_raises(self):
371-
"""An antimeridian-crossing bbox in a projected CRS is genuinely invalid."""
372-
aoi = {"west": 500_000.0, "south": 0.0, "east": -500_000.0, "north": 100_000.0, "crs": "EPSG:3857"}
373-
with pytest.raises(JobSplittingFailure, match="west must be less than east"):
374-
split_area(aoi, projection="EPSG:3857", tile_size=100_000.0)
375-
376364
def test_antimeridian_crossing_predefined_grid(self):
377365
"""Predefined tile grid works correctly with an antimeridian-crossing query bbox."""
378366
tiles = [

0 commit comments

Comments
 (0)