Skip to content

Commit 46a2853

Browse files
committed
xfail cgrid_velocity on test_scipy_vs_jit
1 parent d61563f commit 46a2853

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

tests/test_interpolation.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,17 @@ def test_interpolator2(ctx: interpolation.InterpolationContext3D):
131131
fieldset.U[0.5, 0.5, 0.5, 0.5]
132132

133133

134-
@pytest.mark.parametrize("interp_method", ["linear", "freeslip", "nearest", "cgrid_velocity"])
134+
@pytest.mark.parametrize(
135+
"interp_method",
136+
[
137+
"linear",
138+
"freeslip",
139+
"nearest",
140+
pytest.param(
141+
"cgrid_velocity", marks=pytest.mark.xfail(reason="https://github.com/OceanParcels/Parcels/pull/1834")
142+
),
143+
],
144+
)
135145
def test_scipy_vs_jit(interp_method):
136146
"""Test that the scipy and JIT versions of the interpolation are the same."""
137147
variables = {"U": "U", "V": "V", "W": "W"}

0 commit comments

Comments
 (0)