Skip to content

Commit

Permalink
xfail cgrid_velocity on test_scipy_vs_jit
Browse files Browse the repository at this point in the history
  • Loading branch information
VeckoTheGecko committed Jan 29, 2025
1 parent d61563f commit 46a2853
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion tests/test_interpolation.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,17 @@ def test_interpolator2(ctx: interpolation.InterpolationContext3D):
fieldset.U[0.5, 0.5, 0.5, 0.5]


@pytest.mark.parametrize("interp_method", ["linear", "freeslip", "nearest", "cgrid_velocity"])
@pytest.mark.parametrize(
"interp_method",
[
"linear",
"freeslip",
"nearest",
pytest.param(
"cgrid_velocity", marks=pytest.mark.xfail(reason="https://github.com/OceanParcels/Parcels/pull/1834")
),
],
)
def test_scipy_vs_jit(interp_method):
"""Test that the scipy and JIT versions of the interpolation are the same."""
variables = {"U": "U", "V": "V", "W": "W"}
Expand Down

0 comments on commit 46a2853

Please sign in to comment.