Skip to content

Commit

Permalink
single thread to get proper coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
martinfleis committed Dec 15, 2023
1 parent 2ded57b commit c125710
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion xvec/tests/test_zonal_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,12 @@ def test_callable(method):
xr.testing.assert_identical(ds_agg, ds_std)

da_agg = ds.z.xvec.zonal_stats(
world.geometry, "longitude", "latitude", method=method, stats=np.nanstd
world.geometry,
"longitude",
"latitude",
method=method,
stats=np.nanstd,
n_jobs=1,
)
da_std = ds.z.xvec.zonal_stats(
world.geometry, "longitude", "latitude", method=method, stats="std"
Expand Down

0 comments on commit c125710

Please sign in to comment.