diff --git a/tests/test_core.py b/tests/test_core.py index 3f8d3ff..9f57ee3 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -172,7 +172,7 @@ def test_create_raster_polygons_with_weights(): #np.testing.assert_allclose(compare_series,pix_agg['gdf_pixels'].weights) #assert np.allclose(compare_series,pix_agg['gdf_pixels'].weights) assert np.allclose([float(v) for v in compare_series],[float(v) for v in pix_agg['gdf_pixels'].weights], - ) + atol=1e-4) else: # Should raise ImportError in the no-xesmf environment with pytest.raises(ImportError):