Skip to content

Commit

Permalink
loading dask gdf to memory for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
darribas authored Aug 18, 2023
1 parent d316125 commit 17841d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tobler/tests/test_area_interpolators.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def test_area_interpolate_categorical_dask():
target_dgdf=dsac2,
id_col='ZIP',
categorical_variables=["animal"],
)
).compute()
assert_almost_equal(area.animal_cat.sum(), 32, decimal=0)
assert_almost_equal(area.animal_dog.sum(), 19, decimal=0)
assert_almost_equal(area.animal_donkey.sum(), 22, decimal=0)
Expand Down

0 comments on commit 17841d3

Please sign in to comment.