Skip to content

Commit

Permalink
restore tolerance to both affected tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ks905383 committed Aug 8, 2024
1 parent 22b389b commit 3293ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 3293ad9

Please sign in to comment.