Skip to content

Commit c803b7e

Browse files
Backport PR #44362: CI: xfail tests failing on numpy dev (#44370)
Co-authored-by: Ali McMaster <[email protected]>
1 parent 05b1e44 commit c803b7e

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

pandas/core/arrays/sparse/scipy_sparse.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def coo_to_sparse_series(A, dense_index: bool = False):
122122
123123
Parameters
124124
----------
125-
A : scipy.sparse.coo.coo_matrix
125+
A : scipy.sparse.coo_matrix
126126
dense_index : bool, default False
127127
128128
Returns

pandas/tests/arrays/sparse/test_array.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1204,7 +1204,7 @@ def test_to_coo(self):
12041204
dtype="Sparse[int]",
12051205
)
12061206
A, _, _ = ser.sparse.to_coo()
1207-
assert isinstance(A, scipy.sparse.coo.coo_matrix)
1207+
assert isinstance(A, scipy.sparse.coo_matrix)
12081208

12091209
def test_non_sparse_raises(self):
12101210
ser = pd.Series([1, 2, 3])

pandas/tests/window/moments/test_moments_rolling.py

+1
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,7 @@ def test_rolling_quantile_np_percentile():
558558
tm.assert_almost_equal(df_quantile.values, np.array(np_percentile))
559559

560560

561+
@pytest.mark.xfail(reason="GH#44343", strict=False)
561562
@pytest.mark.parametrize("quantile", [0.0, 0.1, 0.45, 0.5, 1])
562563
@pytest.mark.parametrize(
563564
"interpolation", ["linear", "lower", "higher", "nearest", "midpoint"]

0 commit comments

Comments
 (0)