Skip to content

Commit e134ddb

Browse files
authored
xref #26189, xfail scipy interpolate test for pchip with timedelta (#26190)
1 parent fecee8f commit e134ddb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/tests/series/test_missing.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1441,10 +1441,12 @@ def test_interpolate_timedelta_index(self, interp_methods_ind):
14411441
if method == "pchip":
14421442
_skip_if_no_pchip()
14431443

1444-
if method in {"linear", "pchip"}:
1444+
if method in {"linear"}:
14451445
result = df[0].interpolate(method=method, **kwargs)
14461446
expected = pd.Series([0.0, 1.0, 2.0, 3.0], name=0, index=ind)
14471447
assert_series_equal(result, expected)
1448+
elif method in {"pchip"}:
1449+
pytest.xfail(reason="gh-26189: broken on scipy master")
14481450
else:
14491451
pytest.skip(
14501452
"This interpolation method is not supported for "

0 commit comments

Comments
 (0)