From 1829fe12408e4a1feee7493308f3f02257ef4caf Mon Sep 17 00:00:00 2001 From: vincentsarago Date: Thu, 26 Sep 2024 16:18:38 +0200 Subject: [PATCH] round coordinates for tests --- tests/test_morecantile.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_morecantile.py b/tests/test_morecantile.py index ee4233d..c49f8cc 100644 --- a/tests/test_morecantile.py +++ b/tests/test_morecantile.py @@ -428,6 +428,8 @@ def test_tiles_when_tms_bounds_and_provided_bounds_cross_antimeridian( # that we check to see if lons contain antimeridian, we build tiles that # actually overlap the provided bounds to tiles. assert tms.bbox == tms_bbox + for a, b in zip(tms.bbox, tms_bbox): + assert round(a - b, 6) == 0 assert len(list(tms.tiles(*bounds, zooms=11))) == expected