Skip to content

Commit 558a0fd

Browse files
authored
Revert "CI: xfail tests failing on numpy dev (#44362)"
This reverts commit d779366.
1 parent ed7622c commit 558a0fd

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

pandas/core/arrays/sparse/scipy_sparse.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def coo_to_sparse_series(
181181
182182
Parameters
183183
----------
184-
A : scipy.sparse.coo_matrix
184+
A : scipy.sparse.coo.coo_matrix
185185
dense_index : bool, default False
186186
187187
Returns

pandas/tests/arrays/sparse/test_array.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1255,7 +1255,7 @@ def test_to_coo(
12551255
A, rows, cols = ss.sparse.to_coo(
12561256
row_levels=(0, 1), column_levels=(2, 3), sort_labels=sort_labels
12571257
)
1258-
assert isinstance(A, scipy.sparse.coo_matrix)
1258+
assert isinstance(A, scipy.sparse.coo.coo_matrix)
12591259
tm.assert_numpy_array_equal(A.toarray(), expected_A)
12601260
assert rows == expected_rows
12611261
assert cols == expected_cols

pandas/tests/window/test_rolling.py

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

16361636

1637-
@pytest.mark.xfail(reason="GH#44343", strict=False)
16381637
@pytest.mark.parametrize("quantile", [0.0, 0.1, 0.45, 0.5, 1])
16391638
@pytest.mark.parametrize(
16401639
"interpolation", ["linear", "lower", "higher", "nearest", "midpoint"]

0 commit comments

Comments
 (0)